Trying to get the Auth Types to work right.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2024-01-29 16:09:27 -05:00
parent e64e500561
commit 77bc5fbfb1
4 changed files with 10 additions and 9 deletions

View File

@@ -229,7 +229,7 @@ def test_create_test_user_command(notify_db_session, notify_api):
# that user should be the one we added
user = User.query.filter_by(name="Fake Personson").first()
assert user.email_address == "somebody@fake.gov"
assert user.auth_type == "sms_auth"
assert user.auth_type == AuthType.SMS
assert user.state == "active"