mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-21 07:51:13 -05:00
Fix tests.
This commit is contained in:
@@ -200,7 +200,7 @@ def test_should_allow_valid_message(notify_api,
|
||||
data=json.dumps(data),
|
||||
headers=[('Content-Type', 'application/json'), auth_header])
|
||||
|
||||
assert response.status_code == 200
|
||||
assert response.status_code == 204
|
||||
|
||||
|
||||
@moto.mock_sqs
|
||||
@@ -233,7 +233,7 @@ def test_send_email_valid_data(notify_api,
|
||||
data=json.dumps(data),
|
||||
headers=[('Content-Type', 'application/json'), auth_header])
|
||||
|
||||
assert response.status_code == 200
|
||||
assert response.status_code == 204
|
||||
|
||||
|
||||
@moto.mock_sqs
|
||||
@@ -264,7 +264,7 @@ def test_valid_message_with_service_id(notify_api,
|
||||
data=json.dumps(data),
|
||||
headers=[('Content-Type', 'application/json'), auth_header])
|
||||
|
||||
assert response.status_code == 200
|
||||
assert response.status_code == 204
|
||||
|
||||
|
||||
@moto.mock_sqs
|
||||
|
||||
Reference in New Issue
Block a user