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::