diff --git a/tests/test_integration.py b/tests/test_integration.py
index 3ae3753bcde55edabb40b50caa40a862bb912d26..4275d05b37bd598b0aa3cdecf72c750152867e7f 100644
--- a/tests/test_integration.py
+++ b/tests/test_integration.py
@@ -25,10 +25,6 @@ class ApiClientIntegration:
     def _build_client(cls):
         raise NotImplementedError
 
-    @classmethod
-    def _get_job_id(cls):
-        raise NotImplementedError
-
     @pytest.mark.error
     def test_create_job__user_not_exist(self):
         """create a job with a token that refers to no one.
@@ -141,10 +137,10 @@ class ApiClientIntegration:
 
             The job queried exists and belongs to the testing user.
         """
-        JOB_ID = self._get_job_id()
-        response = self.CLIENT.job_status(JOB_ID)
+        job_run = self.CLIENT.run_job(self.TEST_APP)
+        JOB_ID  = job_run['id']
 
-        file_url = response[str(JOB_ID)]['allgo.log']
+        file_url = job_run[str(JOB_ID)]['allgo.log']
         filepath = self.CLIENT.download_file(file_url, outdir=tmp_path)
 
         assert filepath.startswith(str(tmp_path))
@@ -165,11 +161,6 @@ class TestAllgo18(ApiClientIntegration):
     def _build_client(cls, token):
         return Client(token)
 
-    @classmethod
-    def _get_job_id(cls):
-        """return a job id that exist, with a log file named allgo.log"""
-        return 874
-
     def setup_class(cls):
         """define the client used in tests.
             It uses a token defined in as env variable."""
@@ -187,11 +178,6 @@ class TestAllgoDev(ApiClientIntegration):
 
         return Client(token, allgo_url=ALLGO_URL, verify_tls=False)
 
-    @classmethod
-    def _get_job_id(cls):
-        """return a job id that exist, with a log file named allgo.log"""
-        return 37
-
     @classmethod
     def setup_class(cls):
         """define the client used in local instance.
@@ -220,11 +206,6 @@ class TestAllgoOld(ApiClientIntegration):
 
         return Client(token, allgo_url=ALLGO_URL)
 
-    @classmethod
-    def _get_job_id(cls):
-        """return a job id that exist, with a log file named allgo.log"""
-        return 72597
-
     def setup_class(cls):
         """define the client used in local instance.
             It uses a token defined in as env variable."""