diff --git a/tests/phpunit/tests/customize/widgets.php b/tests/phpunit/tests/customize/widgets.php index 1ba37bb4c9..cfe57c6862 100644 --- a/tests/phpunit/tests/customize/widgets.php +++ b/tests/phpunit/tests/customize/widgets.php @@ -36,7 +36,9 @@ class Tests_WP_Customize_Widgets extends WP_UnitTestCase { $this->assertArrayHasKey( 2, $widget_categories ); $this->assertEquals( '', $widget_categories[2]['title'] ); - remove_action( 'after_setup_theme', 'twentyfifteen_setup' ); // @todo We should not be including a theme anyway + // @todo We should not be including a theme anyway + remove_action( 'after_setup_theme', 'twentyfifteen_setup' ); + remove_action( 'after_setup_theme', 'twentysixteen_setup' ); $user_id = self::factory()->user->create( array( 'role' => 'administrator' ) ); wp_set_current_user( $user_id );