mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Updated tests with correct permissions and added test for no permissions
h/t @stvnrlly for the suggestions! Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
@@ -1067,6 +1067,11 @@ def active_user_with_permissions(fake_uuid):
|
||||
return create_active_user_with_permissions()
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
def active_user_empty_permissions(fake_uuid):
|
||||
return create_active_user_empty_permissions()
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
def active_user_with_permission_to_two_services(fake_uuid):
|
||||
permissions = [
|
||||
|
||||
Reference in New Issue
Block a user