Make WordPress Core


Ignore:
Timestamp:
03/01/2021 06:42:49 PM (6 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/user/author.php

    r49932 r50463  
    3838
    3939                setup_postdata( get_post( self::$post_id ) );
    40         }
    41 
    42         function tearDown() {
    43                 wp_reset_postdata();
    44                 parent::tearDown();
    4540        }
    4641
Note: See TracChangeset for help on using the changeset viewer.