mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 17:45:32 -04:00
fix org invites
This commit is contained in:
@@ -69,6 +69,8 @@ def test_services_pages_that_org_users_are_allowed_to_see(
|
|||||||
client_request.login(
|
client_request.login(
|
||||||
api_user_active,
|
api_user_active,
|
||||||
service=service if SERVICE_ONE_ID in user_services else None,
|
service=service if SERVICE_ONE_ID in user_services else None,
|
||||||
|
nonce="nonce",
|
||||||
|
state="state",
|
||||||
)
|
)
|
||||||
|
|
||||||
endpoints = (
|
endpoints = (
|
||||||
@@ -81,6 +83,8 @@ def test_services_pages_that_org_users_are_allowed_to_see(
|
|||||||
endpoint,
|
endpoint,
|
||||||
service_id=SERVICE_ONE_ID,
|
service_id=SERVICE_ONE_ID,
|
||||||
_expected_status=expected_status,
|
_expected_status=expected_status,
|
||||||
|
nonce="nonce",
|
||||||
|
state="state",
|
||||||
)
|
)
|
||||||
|
|
||||||
assert mock_get_service.called is organization_checked
|
assert mock_get_service.called is organization_checked
|
||||||
|
|||||||
Reference in New Issue
Block a user