Make WordPress Core


Ignore:
Timestamp:
02/27/2021 05:08:26 PM (6 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Fix and standardise calls to the tearDown() method in the test suite.

The parent method should be called after any test-specific teardown.

See #52625

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/menu/wpAjaxMenuQuickSearch.php

    r50449 r50450  
    2828        function tearDown() {
    2929                global $current_screen;
     30                $current_screen = $this->current_screen;
    3031                parent::tearDown();
    31                 $current_screen = $this->current_screen;
    3232        }
    3333
Note: See TracChangeset for help on using the changeset viewer.