mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-05 10:42:41 -05:00
fix more
This commit is contained in:
@@ -246,7 +246,7 @@ def test_create_test_user_command(notify_db_session, notify_api):
|
|||||||
|
|
||||||
# that user should be the one we added
|
# that user should be the one we added
|
||||||
stmt = select(User).where(User.name == "Fake Personson")
|
stmt = select(User).where(User.name == "Fake Personson")
|
||||||
user = db.session.execute(stmt).first()
|
user = db.session.execute(stmt).scalars().first()
|
||||||
assert user.email_address == "somebody@fake.gov"
|
assert user.email_address == "somebody@fake.gov"
|
||||||
assert user.auth_type == AuthType.SMS
|
assert user.auth_type == AuthType.SMS
|
||||||
assert user.state == "active"
|
assert user.state == "active"
|
||||||
|
|||||||
Reference in New Issue
Block a user