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/general/wpGetDocumentTitle.php

    r50339 r50463  
    5454        }
    5555
    56         function tearDown() {
    57                 wp_reset_postdata();
    58                 parent::tearDown();
    59         }
    60 
    6156        function _add_title_tag_support() {
    6257                add_theme_support( 'title-tag' );
Note: See TracChangeset for help on using the changeset viewer.