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/post/revisions.php

    r49603 r50463  
    2121    }
    2222
    23     function tearDown() {
    24         unset( $GLOBALS['wp_post_types'][ $this->post_type ] );
    25         parent::tearDown();
    26     }
    27 
    2823    /**
    2924     * Note: Test needs reviewing when #16215 is fixed because I'm not sure the test current tests the "correct" behavior
Note: See TracChangeset for help on using the changeset viewer.