From 142bb4087695add39007d52577ae418d7f7fdaac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 21 Nov 2025 22:09:44 +0100 Subject: [PATCH] Use short phone format in test scenario As phonenumbers is not a dependency for the tests, we must use a short format to not exceed the 20 characters limit. --- .../tests/scenario_stock_package_shipping_sendcloud.rst | 4 ++-- ...cenario_stock_package_shipping_sendcloud_international.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/stock_package_shipping_sendcloud/tests/scenario_stock_package_shipping_sendcloud.rst b/modules/stock_package_shipping_sendcloud/tests/scenario_stock_package_shipping_sendcloud.rst index 70be946f9a..cb9e550bc5 100644 --- a/modules/stock_package_shipping_sendcloud/tests/scenario_stock_package_shipping_sendcloud.rst +++ b/modules/stock_package_shipping_sendcloud/tests/scenario_stock_package_shipping_sendcloud.rst @@ -85,7 +85,7 @@ Create parties:: >>> customer_address.save() >>> customer_phone = customer.contact_mechanisms.new() >>> customer_phone.type = 'phone' - >>> customer_phone.value = '+33 93 842 8862' + >>> customer_phone.value = '+33938428862' >>> customer_phone.save() Set the warehouse address:: @@ -100,7 +100,7 @@ Set the warehouse address:: >>> company_address.save() >>> company_phone = company.party.contact_mechanisms.new() >>> company_phone.type = 'phone' - >>> company_phone.value = '+32 4 2522122' + >>> company_phone.value = '+3242522122' >>> company_phone.save() >>> warehouse.address = company_address >>> warehouse.save() diff --git a/modules/stock_package_shipping_sendcloud/tests/scenario_stock_package_shipping_sendcloud_international.rst b/modules/stock_package_shipping_sendcloud/tests/scenario_stock_package_shipping_sendcloud_international.rst index efab176381..b6bffdf819 100644 --- a/modules/stock_package_shipping_sendcloud/tests/scenario_stock_package_shipping_sendcloud_international.rst +++ b/modules/stock_package_shipping_sendcloud/tests/scenario_stock_package_shipping_sendcloud_international.rst @@ -72,7 +72,7 @@ Create parties:: >>> customer_address.country = switzerland >>> customer_phone = customer.contact_mechanisms.new() >>> customer_phone.type = 'phone' - >>> customer_phone.value = "+(41) (041) 410-62-66" + >>> customer_phone.value = "+41414106266" >>> customer.save() >>> agent_party = Party(name="Agent") @@ -101,7 +101,7 @@ Set the warehouse address:: >>> company_address.save() >>> company_phone = company.party.contact_mechanisms.new() >>> company_phone.type = 'phone' - >>> company_phone.value = '+32 4 2522122' + >>> company_phone.value = '+3242522122' >>> company_phone.save() >>> warehouse.address = company_address >>> warehouse.save()