mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
ugh
This commit is contained in:
@@ -27,7 +27,9 @@ from tests.conftest import SERVICE_ONE_ID, SERVICE_TWO_ID, normalize_spaces
|
||||
"main.trial_services",
|
||||
],
|
||||
)
|
||||
def test_should_redirect_if_not_logged_in(client_request, endpoint):
|
||||
def test_should_redirect_if_not_logged_in(client_request, endpoint, mocker):
|
||||
|
||||
mocker.patch("app.notify_client.user_api_client.UserApiClient.deactivate_user")
|
||||
client_request.logout()
|
||||
client_request.get(
|
||||
endpoint,
|
||||
|
||||
Reference in New Issue
Block a user