diff --git a/tests/phpunit/tests/customize/selective-refresh-ajax.php b/tests/phpunit/tests/customize/selective-refresh-ajax.php index 9fab8a11f1..618cfe15b5 100644 --- a/tests/phpunit/tests/customize/selective-refresh-ajax.php +++ b/tests/phpunit/tests/customize/selective-refresh-ajax.php @@ -61,6 +61,7 @@ class Test_WP_Customize_Selective_Refresh_Ajax extends WP_UnitTestCase { // Remove actions that call add_theme_support( 'title-tag' ). remove_action( 'after_setup_theme', 'twentyfifteen_setup' ); remove_action( 'after_setup_theme', 'twentysixteen_setup' ); + remove_action( 'after_setup_theme', 'twentyseventeen_setup' ); $_SERVER['REQUEST_METHOD'] = 'POST'; do_action( 'setup_theme' );