diff --git a/functests/toulouse_maelis/conftest.py b/functests/toulouse_maelis/conftest.py index a57b1486..b18f15b6 100644 --- a/functests/toulouse_maelis/conftest.py +++ b/functests/toulouse_maelis/conftest.py @@ -23,7 +23,8 @@ FAMILY_PAYLOAD = { 'quality': 'MERE', 'birth': {'dateBirth': '1950-10-01'}, 'adresse': { - 'idStreet': '161', + 'idStreet': '2317', + 'num': '4', 'street1': 'requeried having idStreet provided', 'town': 'Springfield', 'zipcode': '62701', diff --git a/functests/toulouse_maelis/data/test_create_family.json b/functests/toulouse_maelis/data/test_create_family.json index 08ba8cd1..d7b5a137 100644 --- a/functests/toulouse_maelis/data/test_create_family.json +++ b/functests/toulouse_maelis/data/test_create_family.json @@ -20,14 +20,14 @@ "countryCode": null }, "adresse": { - "idStreet": "161", - "num": 0, + "idStreet": "2317", + "num": 4, "numComp": null, - "street1": "IMP DES ANGES", + "street1": "RUE ACHILLE VIADIEU", "street2": null, "town": "Springfield", "zipcode": "62701", - "idStreet_text": "IMP DES ANGES" + "idStreet_text": "RUE ACHILLE VIADIEU" }, "contact": { "phone": null, diff --git a/functests/toulouse_maelis/data/test_update_family.json b/functests/toulouse_maelis/data/test_update_family.json index 6b9e41b7..d186783c 100644 --- a/functests/toulouse_maelis/data/test_update_family.json +++ b/functests/toulouse_maelis/data/test_update_family.json @@ -20,14 +20,14 @@ "countryCode": null }, "adresse": { - "idStreet": "161", - "num": 0, + "idStreet": "2317", + "num": 4, "numComp": null, - "street1": "IMP DES ANGES", + "street1": "RUE ACHILLE VIADIEU", "street2": null, "town": "Springfield", "zipcode": "62701", - "idStreet_text": "IMP DES ANGES" + "idStreet_text": "RUE ACHILLE VIADIEU" }, "contact": { "phone": null, diff --git a/functests/toulouse_maelis/data/test_update_rl1.json b/functests/toulouse_maelis/data/test_update_rl1.json index 976443a6..bafedc22 100644 --- a/functests/toulouse_maelis/data/test_update_rl1.json +++ b/functests/toulouse_maelis/data/test_update_rl1.json @@ -12,14 +12,14 @@ "countryCode": null }, "adresse": { - "idStreet": "161", - "num": 0, + "idStreet": "2317", + "num": 4, "numComp": null, - "street1": "IMP DES ANGES", + "street1": "RUE ACHILLE VIADIEU", "street2": null, "town": "Springfield", "zipcode": "62701", - "idStreet_text": "IMP DES ANGES" + "idStreet_text": "RUE ACHILLE VIADIEU" }, "contact": { "phone": null, diff --git a/functests/toulouse_maelis/test_family.py b/functests/toulouse_maelis/test_family.py index 8878fe41..4f5edec9 100644 --- a/functests/toulouse_maelis/test_family.py +++ b/functests/toulouse_maelis/test_family.py @@ -16,7 +16,7 @@ FAMILY_RESET_PAYLOAD = { 'maidenName': 'reset', # no effect 'quality': '25', 'birth': {'dateBirth': '1950-10-01'}, # must be - 'adresse': {'idStreet': None, 'street1': 'reset', 'town': 'reset', 'zipcode': 'reset'}, + 'adresse': {'idStreet': '', 'street1': 'reset', 'town': 'reset', 'zipcode': 'reset'}, }, 'rl2': { 'civility': 'MME', # no effect