From 8b7fdc982f63b99c4fdcb4a98a9aa558ec92c551 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Mon, 29 Feb 2016 21:07:00 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/customize/nav-menus.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/phpunit/tests/customize/nav-menus.php b/tests/phpunit/tests/customize/nav-menus.php index 28a99984fa..fd380bc04c 100644 --- a/tests/phpunit/tests/customize/nav-menus.php +++ b/tests/phpunit/tests/customize/nav-menus.php @@ -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. *