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/xmlrpc/wp/getPostType.php

    r49184 r50463  
    2222        );
    2323        register_post_type( $this->cpt_name, $this->cpt_args );
    24     }
    25 
    26     function tearDown() {
    27         _unregister_post_type( $this->cpt_name );
    28 
    29         parent::tearDown();
    3024    }
    3125
Note: See TracChangeset for help on using the changeset viewer.