Remove test related to deprecated Customizer export_preview_data()
method.
The method was gutted and deprecated in [36586], so there's no reason to keep the test. See #36016. git-svn-id: https://develop.svn.wordpress.org/trunk@36782 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f8af8cdc6c
commit
8b7fdc982f
@ -690,16 +690,6 @@ class Test_WP_Customize_Nav_Menus extends WP_UnitTestCase {
|
||||
$this->assertTrue( wp_script_is( 'customize-preview-nav-menus' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Test WP_Customize_Nav_Menus::export_preview_data() method.
|
||||
*
|
||||
* @see WP_Customize_Nav_Menus::export_preview_data()
|
||||
*/
|
||||
function test_export_preview_data() {
|
||||
$this->setExpectedDeprecated( 'WP_Customize_Nav_Menus::export_preview_data' );
|
||||
$this->wp_customize->nav_menus->export_preview_data();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test WP_Customize_Nav_Menus::render_nav_menu_partial() method.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user