From 343383e6e0177129dd95724c3f1b7ae103a88db4 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Thu, 30 Jan 2025 15:44:22 -0800 Subject: [PATCH] fix test --- tests/app/job/test_rest.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/app/job/test_rest.py b/tests/app/job/test_rest.py index 9b797cf37..54fdd3979 100644 --- a/tests/app/job/test_rest.py +++ b/tests/app/job/test_rest.py @@ -513,8 +513,10 @@ def test_get_recent_notifications_for_job_in_reverse_order_of_job_number( ) assert len(resp["notifications"]) == 2 - assert resp["notifications"][0]["status"] == "failed" - assert resp["notifications"][1]["status"] == "delivered" + assert resp["notifications"][0]["status"] == "delivered" + assert resp["notifications"][0]["to"] == "2" + assert resp["notifications"][1]["status"] == "failed" + assert resp["notifications"][1]["to"] == "1" @pytest.mark.parametrize(