mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-09 19:04:05 -04:00
As job update is a PUT then all non nullable fields
need to be sent with update. Also bug in not committing update fixed.
This commit is contained in:
@@ -119,7 +119,7 @@ def test_create_job(notify_api, notify_db, notify_db_session, sample_template):
|
||||
assert len(messages) == 1
|
||||
|
||||
expected_message = json.loads(messages[0].body)
|
||||
assert expected_message['job_id'] == str(job_id)
|
||||
assert expected_message['id'] == str(job_id)
|
||||
assert expected_message['service_id'] == str(service_id)
|
||||
assert expected_message['template_id'] == template_id
|
||||
assert expected_message['bucket_name'] == bucket_name
|
||||
|
||||
Reference in New Issue
Block a user