From e11ec4729e3c1b7ffa5aa030a105c5a9efd11a2c Mon Sep 17 00:00:00 2001 From: Ron Rennick Date: Tue, 25 Aug 2020 16:13:28 -0300 Subject: [PATCH] Include method title in name change --- .../unit-tests/rest-api/Tests/Version2/payment-gateways.php | 2 +- .../unit-tests/rest-api/Tests/Version3/payment-gateways.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/legacy/unit-tests/rest-api/Tests/Version2/payment-gateways.php b/tests/legacy/unit-tests/rest-api/Tests/Version2/payment-gateways.php index 669350dc8e4..5081caa028b 100644 --- a/tests/legacy/unit-tests/rest-api/Tests/Version2/payment-gateways.php +++ b/tests/legacy/unit-tests/rest-api/Tests/Version2/payment-gateways.php @@ -106,7 +106,7 @@ class Payment_Gateways_V2 extends WC_REST_Unit_Test_Case { 'description' => "Pay via PayPal; you can pay with your credit card if you don't have a PayPal account.", 'order' => '', 'enabled' => false, - 'method_title' => 'PayPal', + 'method_title' => 'PayPal Standard', 'method_description' => 'PayPal Standard redirects customers to PayPal to enter their payment information.', 'settings' => array_diff_key( $this->get_settings( 'WC_Gateway_Paypal' ), diff --git a/tests/legacy/unit-tests/rest-api/Tests/Version3/payment-gateways.php b/tests/legacy/unit-tests/rest-api/Tests/Version3/payment-gateways.php index b528c96e460..9b5a98cc8aa 100644 --- a/tests/legacy/unit-tests/rest-api/Tests/Version3/payment-gateways.php +++ b/tests/legacy/unit-tests/rest-api/Tests/Version3/payment-gateways.php @@ -109,7 +109,7 @@ class Payment_Gateways extends WC_REST_Unit_Test_Case { 'description' => "Pay via PayPal; you can pay with your credit card if you don't have a PayPal account.", 'order' => '', 'enabled' => false, - 'method_title' => 'PayPal', + 'method_title' => 'PayPal Standard', 'method_description' => 'PayPal Standard redirects customers to PayPal to enter their payment information.', 'method_supports' => array( 'products',