mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-24 01:11:38 -05:00
Fix impossible test notification
No way a notification can be processed before it’s created.
This commit is contained in:
@@ -202,7 +202,7 @@ def test_get_jobs_for_service_in_processed_at_then_created_at_order(notify_db, n
|
||||
_create_job(created_at=from_hour(2), processing_started=None),
|
||||
_create_job(created_at=from_hour(1), processing_started=None),
|
||||
_create_job(created_at=from_hour(1), processing_started=from_hour(4)),
|
||||
_create_job(created_at=from_hour(4), processing_started=from_hour(3)),
|
||||
_create_job(created_at=from_hour(2), processing_started=from_hour(3)),
|
||||
]
|
||||
|
||||
jobs = dao_get_jobs_by_service_id(sample_template.service.id).items
|
||||
|
||||
Reference in New Issue
Block a user