Make WordPress Core


Ignore:
Timestamp:
03/01/2021 06:42:49 PM (3 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Remove redundant teardown functionality from individual tests which is already covered in the base teardown method.

See #52625

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rewrite/numericSlugs.php

    r48937 r50463  
    1616    }
    1717
    18     public function tearDown() {
    19         parent::tearDown();
    20         remove_filter( 'wp_unique_post_slug', array( $this, 'filter_unique_post_slug' ), 10, 6 );
    21     }
    22 
    2318    public function test_go_to_year_segment_collision_without_title() {
    2419        global $wpdb;
Note: See TracChangeset for help on using the changeset viewer.