From 661219fb52715c0becd88e55acdde2d3080889ae Mon Sep 17 00:00:00 2001 From: Vedanshu Jain Date: Tue, 4 Jul 2023 17:51:32 +0530 Subject: [PATCH] Remove expectation of HPOS setting in advance test. --- .../php/includes/settings/class-wc-settings-advanced-test.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugins/woocommerce/tests/php/includes/settings/class-wc-settings-advanced-test.php b/plugins/woocommerce/tests/php/includes/settings/class-wc-settings-advanced-test.php index 9436408f6eb..86894c188ae 100644 --- a/plugins/woocommerce/tests/php/includes/settings/class-wc-settings-advanced-test.php +++ b/plugins/woocommerce/tests/php/includes/settings/class-wc-settings-advanced-test.php @@ -33,10 +33,6 @@ class WC_Settings_Advanced_Test extends WC_Settings_Unit_Test_Case { 'features', ); - if ( wc_get_container()->get( CustomOrdersTableController::class )->is_feature_visible() ) { - $expected[] = 'custom_data_stores'; - } - $this->assertEquals( $expected, $section_names ); }