From 2983ee71a861128e9100bab83d0aaf70888bb8af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 13 Feb 2022 01:23:19 +0100 Subject: [PATCH] Update scenario to use identifier for siren issue5834 --- tests/scenario_fec.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/scenario_fec.rst b/tests/scenario_fec.rst index db6dd05907..99dd6e11e1 100644 --- a/tests/scenario_fec.rst +++ b/tests/scenario_fec.rst @@ -27,7 +27,8 @@ Create company:: >>> _ = create_company() >>> company = get_company() - >>> company.party.siren = '820043784' + >>> siren = company.party.identifiers.new(type='fr_siren') + >>> siren.code = '820043784' >>> company.party.save() Create last year fiscal year::