This commit is contained in:
Kenneth Kehl
2024-07-11 09:38:32 -07:00
parent 3a2ba3a8c0
commit 058a999ed0
22 changed files with 235 additions and 70 deletions

View File

@@ -204,6 +204,8 @@ def test_verify_email_redirects_to_sign_in_if_user_active(
mock_send_verify_code,
mock_check_verify_code,
):
mocker.patch("app.notify_client.user_api_client.UserApiClient.deactivate_user")
client_request.logout()
token_data = {"user_id": api_user_active["id"], "secret_code": 12345}
mocker.patch(