mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 18:31:13 -05:00
more
This commit is contained in:
@@ -23,7 +23,7 @@ def test_send_notification_to_service_users_persists_notifications_correctly(
|
||||
service_id=sample_service.id, template_id=template.id
|
||||
)
|
||||
|
||||
notification = Notification.query.one()
|
||||
notification = db.session.execute(select(Notification)).scalars().one()
|
||||
|
||||
stmt = select(func.count()).select_from(Notification)
|
||||
count = db.session.execute(stmt).scalar() or 0
|
||||
|
||||
Reference in New Issue
Block a user