mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
Merge pull request #984 from alphagov/confirm-email-change
Send an email to the user when they change email address
This commit is contained in:
@@ -580,6 +580,11 @@ def api_user_changed_password(fake_uuid):
|
||||
return user
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_send_change_email_verification(mocker):
|
||||
return mocker.patch('app.user_api_client.send_change_email_verification')
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_register_user(mocker, api_user_pending):
|
||||
def _register(name, email_address, mobile_number, password):
|
||||
|
||||
Reference in New Issue
Block a user