Make WordPress Core


Ignore:
Timestamp:
03/01/2021 06:42:49 PM (4 years 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/general/wpResourceHints.php

    r50392 r50463  
    2828        $GLOBALS['wp_scripts'] = $this->old_wp_scripts;
    2929        $GLOBALS['wp_styles']  = $this->old_wp_styles;
    30         add_action( 'wp_default_scripts', 'wp_default_scripts' );
    31         add_action( 'wp_default_styles', 'wp_default_styles' );
    3230        parent::tearDown();
    3331    }
Note: See TracChangeset for help on using the changeset viewer.