From 83251ba845ffb2d801571c934e2087cd89374266 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Mon, 21 Oct 2024 08:24:23 -0700 Subject: [PATCH] fix test code --- tests/app/dao/test_inbound_numbers_dao.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/dao/test_inbound_numbers_dao.py b/tests/app/dao/test_inbound_numbers_dao.py index ade1f7f94..efb1e376c 100644 --- a/tests/app/dao/test_inbound_numbers_dao.py +++ b/tests/app/dao/test_inbound_numbers_dao.py @@ -38,7 +38,7 @@ def test_set_service_id_on_inbound_number(notify_db_session, sample_inbound_numb dao_set_inbound_number_to_service(service.id, numbers[0]) stmt = select(InboundNumber).filter(InboundNumber.service_id == service.id) - res = db.session.execute(stmt).all() + res = db.session.execute(stmt).scalars().all() assert len(res) == 1 assert res[0].service_id == service.id