WordPress.org

Make WordPress Core

Ticket #52607: 52607.diff

File 52607.diff, 554 bytes (added by SergeyBiryukov, 7 months ago)
  • tests/phpunit/tests/admin/includesPlugin.php

     
    44 * @group admin
    55 */
    66class Tests_Admin_includesPlugin extends WP_UnitTestCase {
     7
     8        function tearDown() {
     9                unset( $GLOBALS['current_screen'] );
     10                parent::tearDown();
     11        }
     12
    713        function test_get_plugin_data() {
    814                $data = get_plugin_data( DIR_TESTDATA . '/plugins/hello.php' );
    915