From 1ccd8f46c4f1bfb8b7a7a05ef74be11e7c3676c8 Mon Sep 17 00:00:00 2001 From: carmenmaymo Date: Wed, 15 May 2024 09:45:05 +0200 Subject: [PATCH] Update order success test --- tests/php/Functional/Payment/PaymentServiceTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/php/Functional/Payment/PaymentServiceTest.php b/tests/php/Functional/Payment/PaymentServiceTest.php index 4aef1f34..6b080616 100644 --- a/tests/php/Functional/Payment/PaymentServiceTest.php +++ b/tests/php/Functional/Payment/PaymentServiceTest.php @@ -118,7 +118,7 @@ public function processPayment_Order_success(){ ->willReturn(''); $wcOrder->expects($this->any()) ->method('get_billing_phone') - ->willReturn('+1234567890'); + ->willReturn('+34345678900'); /* * Execute Test */ @@ -225,7 +225,7 @@ private function wcOrder($id, $orderKey) 'get_billing_city' => 'billingcity', 'get_billing_state' => 'billingregion', 'get_billing_country' => 'billingcountry', - 'get_billing_phone' => '+1234567890', + 'get_billing_phone' => '+12345678900', 'get_shipping_address_1' => 'shippingstreetAndNumber', 'get_shipping_address_2' => 'shippingstreetAdditional', 'get_shipping_postcode' => 'shippingpostalCode',