mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -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
|
assert Service.query.count() == service_count + 1
|
||||||
|
|
||||||
# that service should be the one we added
|
# 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()
|
service = db.session.execute(stmt).first()
|
||||||
assert service.email_from == "somebody@fake.gov"
|
assert service.email_from == "somebody@fake.gov"
|
||||||
assert service.restricted is False
|
assert service.restricted is False
|
||||||
|
|||||||
Reference in New Issue
Block a user