From c796406a40822e8edf1e32d9dd0619b28192c5ef Mon Sep 17 00:00:00 2001 From: RJChow Date: Thu, 21 Apr 2022 13:51:29 +0800 Subject: [PATCH] fixed phpunit tests --- .../settings/class-wc-settings-payment-gateways-test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/woocommerce/tests/php/includes/settings/class-wc-settings-payment-gateways-test.php b/plugins/woocommerce/tests/php/includes/settings/class-wc-settings-payment-gateways-test.php index aceca0bdec6..24bfd6a754e 100644 --- a/plugins/woocommerce/tests/php/includes/settings/class-wc-settings-payment-gateways-test.php +++ b/plugins/woocommerce/tests/php/includes/settings/class-wc-settings-payment-gateways-test.php @@ -71,8 +71,8 @@ class WC_Settings_Payment_Gateways_Test extends WC_Settings_Unit_Test_Case { $settings_ids_and_types = $this->get_ids_and_types( $settings ); $expected = array( - 'payment_gateways_options' => array( 'title', 'sectionend' ), - '' => 'payment_gateways', + 'payment_gateways_options' => 'sectionend', + '' => array( 'title', 'payment_gateways_banner', 'payment_gateways' ), ); $this->assertEquals( $expected, $settings_ids_and_types );