mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 17:01:35 -05:00
Update test for 201 response from send_letter_jobs
This commit is contained in:
@@ -16,7 +16,7 @@ def test_send_letter_jobs(client, mocker):
|
||||
data=json.dumps(job_ids),
|
||||
headers=[('Content-Type', 'application/json'), auth_header])
|
||||
|
||||
assert response.status_code == 200
|
||||
assert response.status_code == 201
|
||||
assert json.loads(response.get_data())['data'] == {'response': "Task created to send files to DVLA"}
|
||||
|
||||
mock_celery.assert_called_once_with(name="send-files-to-dvla",
|
||||
|
||||
Reference in New Issue
Block a user