From 78b5f90f6717feed2c2ca6a75a9f9ed73c4047ef Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Thu, 30 Jan 2025 14:21:48 -0800 Subject: [PATCH] fix test --- tests/app/job/test_rest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/app/job/test_rest.py b/tests/app/job/test_rest.py index 644962e50..bdecc3165 100644 --- a/tests/app/job/test_rest.py +++ b/tests/app/job/test_rest.py @@ -506,12 +506,13 @@ def test_get_recent_notifications_for_job_in_reverse_order_of_job_number( create_notification(job=another_job) resp = admin_request.get( - "job.get_all_notifications_for_service_job", + "job.get_recent_notifications_for_service_job", service_id=main_job.service_id, job_id=main_job.id, ) assert len(resp["notifications"]) == 3 + print(resp["notifications"]) assert resp["notifications"][0]["to"] == notification_3.to assert resp["notifications"][0]["job_row_number"] == notification_3.job_row_number assert resp["notifications"][1]["to"] == notification_2.to