diff --git a/tests/app/job/test_rest.py b/tests/app/job/test_rest.py index 54fdd3979..fd708daae 100644 --- a/tests/app/job/test_rest.py +++ b/tests/app/job/test_rest.py @@ -514,9 +514,9 @@ def test_get_recent_notifications_for_job_in_reverse_order_of_job_number( assert len(resp["notifications"]) == 2 assert resp["notifications"][0]["status"] == "delivered" - assert resp["notifications"][0]["to"] == "2" + assert resp["notifications"][0]["job_row_number"] == "2" assert resp["notifications"][1]["status"] == "failed" - assert resp["notifications"][1]["to"] == "1" + assert resp["notifications"][1]["job_row_number"] == "1" @pytest.mark.parametrize(