mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Change new invite registration flow to only need
sms for verification. This may change again soon with story to split 2 factor pages, but for now is correct.
This commit is contained in:
@@ -332,6 +332,7 @@ def mock_register_user(mocker, api_user_pending):
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_get_user(mocker, api_user_active):
|
||||
def _get_user(id):
|
||||
api_user_active.id = id
|
||||
return api_user_active
|
||||
return mocker.patch(
|
||||
'app.user_api_client.get_user', side_effect=_get_user)
|
||||
|
||||
Reference in New Issue
Block a user