This commit is contained in:
Kenneth Kehl
2024-10-30 09:08:58 -07:00
parent 36251ab95d
commit bcd5e206ea

View File

@@ -418,7 +418,7 @@ def test_create_service_command(notify_db_session, notify_api):
assert Service.query.count() == service_count + 1
# that service should be the one we added
stmt = select(Service).where(name="Fake Service")
stmt = select(Service).where(Service.name == "Fake Service")
service = db.session.execute(stmt).first()
assert service.email_from == "somebody@fake.gov"
assert service.restricted is False