From a4221df79341debdf4688e9d75942e2244d55cb9 Mon Sep 17 00:00:00 2001 From: Felipe Elia Date: Tue, 19 Mar 2024 10:28:43 -0300 Subject: [PATCH] Fix linting --- .../WooCommerce/TestWooCommerceOrdersAutosuggest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/php/features/WooCommerce/TestWooCommerceOrdersAutosuggest.php b/tests/php/features/WooCommerce/TestWooCommerceOrdersAutosuggest.php index f7c917bc0..b183c90a0 100644 --- a/tests/php/features/WooCommerce/TestWooCommerceOrdersAutosuggest.php +++ b/tests/php/features/WooCommerce/TestWooCommerceOrdersAutosuggest.php @@ -363,14 +363,14 @@ public function test_is_hpos_compatible() { $this->assertTrue( $this->orders_autosuggest->is_hpos_compatible() ); // Turn HPOS on - $custom_orders_table = \Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController::CUSTOM_ORDERS_TABLE_USAGE_ENABLED_OPTION; + $custom_orders_table = \Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController::CUSTOM_ORDERS_TABLE_USAGE_ENABLED_OPTION; $change_custom_orders_table = function() { return 'yes'; }; add_filter( 'pre_option_' . $custom_orders_table, $change_custom_orders_table ); // Disable legacy mode - $legacy_mode = \Automattic\WooCommerce\Internal\DataStores\Orders\DataSynchronizer::ORDERS_DATA_SYNC_ENABLED_OPTION; + $legacy_mode = \Automattic\WooCommerce\Internal\DataStores\Orders\DataSynchronizer::ORDERS_DATA_SYNC_ENABLED_OPTION; $change_legacy_mode = function() { return 'no'; }; @@ -417,7 +417,7 @@ public function test_get_setting_help_message_feature_available() { */ public function test_get_setting_help_message_feature_hpos_incompatible() { // Turn HPOS on - $custom_orders_table = \Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController::CUSTOM_ORDERS_TABLE_USAGE_ENABLED_OPTION; + $custom_orders_table = \Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController::CUSTOM_ORDERS_TABLE_USAGE_ENABLED_OPTION; $change_custom_orders_table = function() { return 'yes'; };