mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 06:52:06 -05:00
fix more
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user