Include method title in name change

This commit is contained in:
Ron Rennick 2020-08-25 16:13:28 -03:00
parent 81dae70033
commit e11ec4729e
2 changed files with 2 additions and 2 deletions

View File

@ -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.", 'description' => "Pay via PayPal; you can pay with your credit card if you don't have a PayPal account.",
'order' => '', 'order' => '',
'enabled' => false, 'enabled' => false,
'method_title' => 'PayPal', 'method_title' => 'PayPal Standard',
'method_description' => 'PayPal Standard redirects customers to PayPal to enter their payment information.', 'method_description' => 'PayPal Standard redirects customers to PayPal to enter their payment information.',
'settings' => array_diff_key( 'settings' => array_diff_key(
$this->get_settings( 'WC_Gateway_Paypal' ), $this->get_settings( 'WC_Gateway_Paypal' ),

View File

@ -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.", 'description' => "Pay via PayPal; you can pay with your credit card if you don't have a PayPal account.",
'order' => '', 'order' => '',
'enabled' => false, 'enabled' => false,
'method_title' => 'PayPal', 'method_title' => 'PayPal Standard',
'method_description' => 'PayPal Standard redirects customers to PayPal to enter their payment information.', 'method_description' => 'PayPal Standard redirects customers to PayPal to enter their payment information.',
'method_supports' => array( 'method_supports' => array(
'products', 'products',