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/rest-api/rest-pages-controller.php

    r50024 r50463  
    765765        }
    766766
    767         public function tearDown() {
    768                 parent::tearDown();
    769                 remove_filter( 'theme_page_templates', array( $this, 'filter_theme_page_templates' ) );
    770         }
    771 
    772767        public function filter_theme_page_templates( $page_templates ) {
    773768                return array(
Note: See TracChangeset for help on using the changeset viewer.