From a2e6e06d3fe5876afa7516a645c35d273b59e42c Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Wed, 30 Oct 2024 09:28:12 -0700 Subject: [PATCH] fix more --- tests/app/test_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/test_commands.py b/tests/app/test_commands.py index 7a8bc59f3..361de9a40 100644 --- a/tests/app/test_commands.py +++ b/tests/app/test_commands.py @@ -246,7 +246,7 @@ def test_create_test_user_command(notify_db_session, notify_api): # that user should be the one we added 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.auth_type == AuthType.SMS assert user.state == "active"