toulouse-maelis: defer insurance end contract in functests (#72881)

This commit is contained in:
Nicolas Roche 2023-01-02 16:38:27 +01:00
parent 5e99708996
commit 4903e52055
4 changed files with 4 additions and 4 deletions

View File

@ -411,7 +411,7 @@ def create_data(request, conn):
'contractNumber': '123',
'memberNumber': '456',
'contractStart': '2022-01-01',
'contractEnd': '2022-12-31',
'contractEnd': '2222-12-31',
}
url = conn + '/create-family?NameID=%s' % name_id

View File

@ -160,7 +160,7 @@
"contractNumber": "123",
"memberNumber": "456",
"contractStart": "2022-01-01T00:00:00+01:00",
"contractEnd": "2022-12-31T00:00:00+01:00"
"contractEnd": "2222-12-31T00:00:00+01:00"
},
"paiInfoBean": {
"code": "PAI_01",

View File

@ -3,5 +3,5 @@
"contractNumber": "444",
"memberNumber": "555",
"contractStart": "2022-01-02T00:00:00+01:00",
"contractEnd": "2022-12-31T00:00:00+01:00"
"contractEnd": "2222-12-31T00:00:00+01:00"
}

View File

@ -532,7 +532,7 @@ def test_update_child(conn, update_data, create_data):
'contractNumber': '444',
'memberNumber': '555',
'contractStart': '2022-01-02',
'contractEnd': '2022-12-31',
'contractEnd': '2222-12-31',
}
url = conn + '/update-child?NameID=%s&child_id=%s' % (create_data['name_id'], create_data['bart_num'])
resp = requests.post(url, json=payload)