From 68f1f97a948d748379cb90193590b66e6d147612 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Thu, 30 Jan 2025 16:01:55 -0800 Subject: [PATCH] fix test --- tests/app/job/test_rest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/app/job/test_rest.py b/tests/app/job/test_rest.py index fd708daae..ab82747a8 100644 --- a/tests/app/job/test_rest.py +++ b/tests/app/job/test_rest.py @@ -502,7 +502,7 @@ def test_get_recent_notifications_for_job_in_reverse_order_of_job_number( count = 1 for status in NotificationStatus: - create_notification(job=main_job, to_field=str(count), status=status) + create_notification(job=main_job, job_row_number=str(count), status=status) count = count + 1 create_notification(job=another_job) @@ -513,6 +513,8 @@ def test_get_recent_notifications_for_job_in_reverse_order_of_job_number( ) assert len(resp["notifications"]) == 2 + for n in resp["notifications"]: + print(n) assert resp["notifications"][0]["status"] == "delivered" assert resp["notifications"][0]["job_row_number"] == "2" assert resp["notifications"][1]["status"] == "failed"