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(