From c0a3b298d01465104331fb147365656209f1681a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20L=C3=B3pez?= <46503462+davelopez@users.noreply.github.com> Date: Thu, 1 Feb 2024 12:11:18 +0100 Subject: [PATCH] Use correct job ID in test Co-authored-by: Marius van den Beek --- lib/galaxy_test/api/test_users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy_test/api/test_users.py b/lib/galaxy_test/api/test_users.py index e8d6712a4d1..fd39e99a147 100644 --- a/lib/galaxy_test/api/test_users.py +++ b/lib/galaxy_test/api/test_users.py @@ -156,7 +156,7 @@ class TestUsersApi(ApiTestCase): ) self._assert_status_code_is_ok(run_response) - job_id = run_response.json()["outputs"][0]["id"] + job_id = run_response.json()["jobs"][0]["id"] # Wait a bit for the job to be ready expected_job_states = ["new", "queued", "running"]