mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-27 02:41:23 -05:00
try fixing pagination
This commit is contained in:
@@ -21,7 +21,7 @@ def test_insert_update_processing_time(notify_db_session):
|
||||
|
||||
fact_processing_time_dao.insert_update_processing_time(data)
|
||||
|
||||
result = db.session.execute(select(FactProcessingTime)).scalars().all()
|
||||
result = db.session.execute(select(FactProcessingTime)).all()
|
||||
|
||||
assert len(result) == 1
|
||||
assert result[0].local_date == datetime(2021, 2, 22).date()
|
||||
@@ -38,7 +38,7 @@ def test_insert_update_processing_time(notify_db_session):
|
||||
with freeze_time("2021-02-23 13:23:33"):
|
||||
fact_processing_time_dao.insert_update_processing_time(data)
|
||||
|
||||
result = db.session.execute(select(FactProcessingTime)).scalars().all()
|
||||
result = db.session.execute(select(FactProcessingTime)).all()
|
||||
|
||||
assert len(result) == 1
|
||||
assert result[0].local_date == datetime(2021, 2, 22).date()
|
||||
|
||||
Reference in New Issue
Block a user