Fix test to expect correct db queue

Sending emails was moved to a different queue in:
https://github.com/alphagov/notifications-api/pull/647

At the time that
https://github.com/alphagov/notifications-api/pull/645
was written, the previous queues were still being used.

So when #645 got merged it was testing for the old queues, which broke
the tests.
This commit is contained in:
Chris Hill-Scott
2016-08-31 13:46:00 +01:00
parent f2309e041b
commit e98a740dbf

View File

@@ -799,7 +799,7 @@ def test_should_send_email_to_anyone_with_test_key(
'api_key_id': str(api_key.id),
'key_type': api_key.key_type
},
queue='email'
queue='db-email'
)
assert response.status_code == 201