diff --git a/test/workflows/iptrunks/test_create_iptrunks.py b/test/workflows/iptrunks/test_create_iptrunks.py index 2a766eaf9a0a667459cdea8d16731bb1eb82af5b..337012c34103ba63e4adfb029e143e4f23c5cf95 100644 --- a/test/workflows/iptrunks/test_create_iptrunks.py +++ b/test/workflows/iptrunks/test_create_iptrunks.py @@ -6,6 +6,7 @@ from gso.products import Iptrunk from gso.products.product_blocks import PhyPortCapacity from gso.products.product_blocks.iptrunk import IptrunkType from gso.schemas.enums import ProductType +from gso.services.crm import get_customer_by_name from gso.services.subscriptions import get_product_id_by_name from gso.workflows.utils import customer_selector from test.workflows import ( @@ -24,7 +25,8 @@ def input_form_wizard_data(router_subscription_factory, faker): router_side_b = router_subscription_factory() create_ip_trunk_step = { - "customer": getattr(customer_selector(), "8f0df561-ce9d-4d9c-89a8-7953d3ffc961"), + "tt_number": faker.pystr(), + "customer": getattr(customer_selector(), get_customer_by_name("GÉANT")["id"]), "geant_s_sid": faker.pystr(), "iptrunk_type": IptrunkType.DARK_FIBER, "iptrunk_description": faker.sentence(),