From 3fbacc51b0fdb5fe6ed427c71132490559c9d30e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= Date: Sat, 15 May 2021 22:02:20 +0100 Subject: [PATCH] Move missing tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: André Silva --- .../process/inspectors/TestProjectInspector4Bears.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/repairnator-pipeline/src/test/java/fr/inria/spirals/repairnator/process/inspectors/TestProjectInspector4Bears.java b/src/repairnator-pipeline/src/test/java/fr/inria/spirals/repairnator/process/inspectors/TestProjectInspector4Bears.java index 257b0c4a4..ba75c4336 100644 --- a/src/repairnator-pipeline/src/test/java/fr/inria/spirals/repairnator/process/inspectors/TestProjectInspector4Bears.java +++ b/src/repairnator-pipeline/src/test/java/fr/inria/spirals/repairnator/process/inspectors/TestProjectInspector4Bears.java @@ -66,6 +66,7 @@ public void setUp() { config.setPushRemoteRepo(""); config.setGithubUserEmail("noreply@github.com"); config.setGithubUserName("repairnator"); + config.setJTravisEndpoint("https://api.travis-ci.com"); Utils.setLoggersLevel(Level.ERROR); serializerEngine = mock(SerializerEngine.class); @@ -88,8 +89,8 @@ public void tearDown() throws IOException { @Test public void testFailingPassingProject() throws IOException, GitAPIException { - long buildIdPassing = 203800961; - long buildIdFailing = 203797975; + long buildIdPassing = 226012005; // https://travis-ci.com/github/repairnator/TestingProject/builds/226012005 + long buildIdFailing = 225936611; // https://travis-ci.com/github/repairnator/TestingProject/builds/225936611 tmpDir = Files.createTempDirectory("test_bears1").toFile(); @@ -142,8 +143,8 @@ public void testFailingPassingProject() throws IOException, GitAPIException { @Test public void testPassingPassingProject() throws IOException, GitAPIException { - long buildIdPassing = 201938881; - long buildIdPreviousPassing = 201938325; + long buildIdPassing = 226012099; // https://travis-ci.com/github/repairnator/TestingProject/builds/226012099 + long buildIdPreviousPassing = 226012117; // https://travis-ci.com/github/repairnator/TestingProject/builds/226012117 tmpDir = Files.createTempDirectory("test_bears2").toFile();