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:
parent
90f8c9314a
commit
9320e0775c
@ -52,6 +52,8 @@ class Test_WP_Customize_Selective_Refresh_Ajax extends WP_UnitTestCase {
|
|||||||
$this->selective_refresh = $this->wp_customize->selective_refresh;
|
$this->selective_refresh = $this->wp_customize->selective_refresh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Remove default theme actions that interfere with tests
|
||||||
|
remove_action( 'customize_register', 'twentyseventeen_customize_register' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user