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:
Rebecca Law
2016-07-12 11:53:30 +01:00
parent b4525d0a64
commit 43938936f3
4 changed files with 22 additions and 24 deletions

View File

@@ -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')