mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-14 10:58:06 -04:00
try to fix test code
This commit is contained in:
@@ -102,8 +102,8 @@ def _get_first_service():
|
||||
|
||||
|
||||
def _get_service_by_id(service_id):
|
||||
stmt = select(Service).where(id == service_id)
|
||||
return db.session.execute(stmt).one()
|
||||
stmt = select(Service).filter(id == service_id)
|
||||
return db.session.execute(stmt).scalars().one()
|
||||
|
||||
|
||||
def test_create_service(notify_db_session):
|
||||
|
||||
Reference in New Issue
Block a user