mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05:00
Rationalised the queues.
- the internal notify activites (send sms code, forgotten passwords etc) all not in a "notify" queue. - deleted all unused queues
This commit is contained in:
@@ -56,7 +56,7 @@ def test_create_invited_user(notify_api, sample_service, mocker, invitation_emai
|
||||
'some_uuid',
|
||||
encryption.encrypt(message),
|
||||
"2016-01-01T11:09:00.061258"),
|
||||
queue="email-invited-user")
|
||||
queue="notify")
|
||||
|
||||
|
||||
def test_create_invited_user_invalid_email(notify_api, sample_service, mocker):
|
||||
|
||||
@@ -421,7 +421,7 @@ def test_send_user_reset_password_should_send_reset_password_link(notify_api,
|
||||
'some_uuid',
|
||||
app.encryption.encrypt(message),
|
||||
"2016-01-01T11:09:00.061258"],
|
||||
queue="email-reset-password")
|
||||
queue="notify")
|
||||
|
||||
|
||||
def test_send_user_reset_password_should_return_400_when_email_is_missing(notify_api):
|
||||
@@ -501,7 +501,7 @@ def test_send_already_registered_email(notify_api, sample_user, already_register
|
||||
'some_uuid',
|
||||
app.encryption.encrypt(message),
|
||||
"2016-01-01T11:09:00.061258"),
|
||||
queue="email-already-registered")
|
||||
queue="notify")
|
||||
|
||||
|
||||
def test_send_already_registered_email_returns_400_when_data_is_missing(notify_api, sample_user):
|
||||
|
||||
@@ -249,7 +249,7 @@ def test_send_user_sms_code(notify_api,
|
||||
"some_uuid",
|
||||
encrypted,
|
||||
"2016-01-01T11:09:00.061258"]),
|
||||
queue="sms-code"
|
||||
queue="notify"
|
||||
)
|
||||
|
||||
|
||||
@@ -289,7 +289,7 @@ def test_send_user_code_for_sms_with_optional_to_field(notify_api,
|
||||
"some_uuid",
|
||||
encrypted,
|
||||
"2016-01-01T11:09:00.061258"]),
|
||||
queue="sms-code"
|
||||
queue="notify"
|
||||
)
|
||||
|
||||
|
||||
@@ -344,7 +344,7 @@ def test_send_user_email_verification(notify_api,
|
||||
'some_uuid',
|
||||
encryption.encrypt(message),
|
||||
"2016-01-01T11:09:00.061258"),
|
||||
queue="email-registration-verification")
|
||||
queue="notify")
|
||||
|
||||
|
||||
def test_send_email_verification_returns_404_for_bad_input_data(notify_api, notify_db, notify_db_session):
|
||||
|
||||
Reference in New Issue
Block a user