Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/27/2024 04:30:23 PM (17 months ago)
Author:
espellcaste
Message:

Unit Tests: Conducted a thorough review of existing unit tests files and improved them to ensure robustness.

Props imath.

Closes https://github.com/buddypress/buddypress/pull/295
Fixes #9081

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/blogs/filters.php

    r13314 r13980  
    2424
    2525    function tear_down() {
    26         parent::tear_down();
    27 
    28         $bp = buddypress();
    29 
    3026        _unregister_post_type( 'using_old_filter' );
    3127        remove_filter( 'bp_blogs_record_post_post_types',    array( $this, 'filter_post_types' ), 10 );
    3228        remove_filter( 'bp_blogs_record_comment_post_types', array( $this, 'filter_post_types' ), 10 );
     29
     30        parent::tear_down();
    3331    }
    3432
Note: See TracChangeset for help on using the changeset viewer.