mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
There seems to be a UTC time bug around the dao_get_uploads_by_service_id function.
To fix the build tonight I'm putting freezing the time for the test. But will investigate further tomorrow.
This commit is contained in:
@@ -189,6 +189,7 @@ def test_get_uploads_orders_by_processing_started_desc(sample_template):
|
|||||||
assert results[1].id == upload_2.id
|
assert results[1].id == upload_2.id
|
||||||
|
|
||||||
|
|
||||||
|
@freeze_time("2020-10-27 16:15") # GMT time
|
||||||
def test_get_uploads_orders_by_processing_started_and_created_at_desc(sample_template):
|
def test_get_uploads_orders_by_processing_started_and_created_at_desc(sample_template):
|
||||||
letter_template = create_uploaded_template(sample_template.service)
|
letter_template = create_uploaded_template(sample_template.service)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user