WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/01/2021 06:42:49 PM (8 months 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-tags-controller.php

    r49922 r50463  
    14011401    }
    14021402
    1403     public function tearDown() {
    1404         _unregister_taxonomy( 'batman' );
    1405         _unregister_taxonomy( 'robin' );
    1406         parent::tearDown();
    1407     }
    1408 
    14091403    protected function check_get_taxonomy_terms_response( $response ) {
    14101404        $this->assertSame( 200, $response->get_status() );
Note: See TracChangeset for help on using the changeset viewer.