Tests: Prevent Twenty Seventeen from interfering with Customizer ajax tests.

Missed in [38850].

See #38372.



git-svn-id: https://develop.svn.wordpress.org/trunk@38851 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast 2016-10-21 05:50:54 +00:00
parent 90f8c9314a
commit 9320e0775c
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ class Test_WP_Customize_Selective_Refresh_Ajax extends WP_UnitTestCase {
$this->selective_refresh = $this->wp_customize->selective_refresh;
}
// Remove default theme actions that interfere with tests
remove_action( 'customize_register', 'twentyseventeen_customize_register' );
}
/**