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-categories-controller.php

    r49922 r50463  
    11831183        }
    11841184
    1185         public function tearDown() {
    1186                 _unregister_taxonomy( 'batman' );
    1187                 _unregister_taxonomy( 'robin' );
    1188                 parent::tearDown();
    1189         }
    1190 
    11911185        protected function check_get_taxonomy_terms_response( $response ) {
    11921186                $this->assertSame( 200, $response->get_status() );
Note: See TracChangeset for help on using the changeset viewer.