mirror of
https://github.com/GSA/notifications-api.git
synced 2026-05-05 16:48:31 -04:00
Rename first send_email to send_email_v1.
Fix the tests
This commit is contained in:
@@ -328,10 +328,9 @@ def test_send_user_email_verification(notify_api,
|
||||
headers=[('Content-Type', 'application/json'), auth_header])
|
||||
assert resp.status_code == 204
|
||||
assert mocked.call_count == 1
|
||||
app.celery.tasks.send_email_v2.apply_async.assert_called_once_with(
|
||||
app.celery.tasks.send_email.apply_async.assert_called_once_with(
|
||||
(str(current_app.config['NOTIFY_SERVICE_ID']),
|
||||
'some_uuid',
|
||||
'',
|
||||
"something_encrypted",
|
||||
"2016-01-01T11:09:00.061258"),
|
||||
queue="email-registration-verification")
|
||||
|
||||
Reference in New Issue
Block a user