mirror of
git://develop.git.wordpress.org/
synced 2025-04-21 04:31:55 +02:00
Tests: Revert [52617].
Following [52629], the tests no longer throw an exception. See #54318. See #54882. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52630 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b91bc3631e
commit
693e0b0418
@ -261,7 +261,6 @@ class Tests_Theme extends WP_UnitTestCase {
|
||||
* @expectedDeprecated get_current_theme
|
||||
*/
|
||||
public function test_switch_theme() {
|
||||
$this->expectException( 'WPDieException' );
|
||||
$themes = get_themes();
|
||||
|
||||
// Switch to each theme in sequence.
|
||||
@ -721,7 +720,6 @@ class Tests_Theme extends WP_UnitTestCase {
|
||||
* }
|
||||
*/
|
||||
public function test_block_theme_has_default_support( $support ) {
|
||||
$this->expectException( 'WPDieException' );
|
||||
$this->helper_requires_block_theme();
|
||||
|
||||
$support_data = array_values( $support );
|
||||
@ -826,7 +824,6 @@ class Tests_Theme extends WP_UnitTestCase {
|
||||
* @covers ::wp_should_load_separate_core_block_assets
|
||||
*/
|
||||
public function test_block_theme_should_load_separate_core_block_assets_by_default() {
|
||||
$this->expectException( 'WPDieException' );
|
||||
$this->helper_requires_block_theme();
|
||||
|
||||
add_filter( 'should_load_separate_core_block_assets', '__return_false' );
|
||||
|
Loading…
x
Reference in New Issue
Block a user