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:
Rebecca Law
2020-10-27 17:25:58 +00:00
parent f47a1af305
commit df325c78b7

View File

@@ -189,6 +189,7 @@ def test_get_uploads_orders_by_processing_started_desc(sample_template):
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):
letter_template = create_uploaded_template(sample_template.service)