mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-24 01:11:38 -05:00
Add platform_admin boolean on the User data model.
This commit is contained in:
@@ -32,6 +32,7 @@ def test_create_user(notify_api, notify_db, notify_db_session):
|
||||
assert User.query.count() == 1
|
||||
assert User.query.first().email_address == email
|
||||
assert User.query.first().id == user.id
|
||||
assert not user.platform_admin
|
||||
|
||||
|
||||
def test_get_all_users(notify_api, notify_db, notify_db_session, sample_user):
|
||||
|
||||
Reference in New Issue
Block a user