mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
If a user has already registered with the email they will get a different email when the register again.
The email includes likes to sign in and send feedback
This commit is contained in:
@@ -1121,3 +1121,8 @@ def mock_events(mocker):
|
||||
return {'some': 'data'}
|
||||
|
||||
return mocker.patch('app.events_api_client.create_event', side_effect=_create_event)
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_send_already_registered_email(mocker):
|
||||
return mocker.patch('app.user_api_client.send_already_registered_email')
|
||||
|
||||
Reference in New Issue
Block a user