diff --git a/pom.xml b/pom.xml
index e8cf66cf0f..896086b2f7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -204,6 +204,7 @@
org.kohsuke.github.GHPerson.1.1
+ org.kohsuke.github.GitHub.GHApiInfo
org.kohsuke.github.GHBranchProtection.RequiredSignatures
org.kohsuke.github.GHBranchProtectionBuilder.Restrictions
org.kohsuke.github.GHBranchProtection.Restrictions
@@ -467,7 +468,7 @@
commons-io
commons-io
- 2.6
+ 2.4
com.infradna.tool
diff --git a/src/test/java/org/kohsuke/github/GitHubConnectionTest.java b/src/test/java/org/kohsuke/github/GitHubConnectionTest.java
index 5e244da3bf..03806cbbeb 100644
--- a/src/test/java/org/kohsuke/github/GitHubConnectionTest.java
+++ b/src/test/java/org/kohsuke/github/GitHubConnectionTest.java
@@ -1,5 +1,6 @@
package org.kohsuke.github;
+import org.junit.Ignore;
import org.junit.Test;
import java.io.IOException;
@@ -99,10 +100,11 @@ public void testGithubBuilderWithAppInstallationToken() throws Exception {
assertEquals("", github.login);
}
+ @Ignore
@Test
public void testGitHubIsApiUrlValid() throws IOException {
GitHub hub = GitHub.connectAnonymously();
- // GitHub github = GitHub.connectToEnterpriseAnonymously("https://github.mycompany.com/api/v3/");
+ // GitHub hub = GitHub.connectToEnterpriseAnonymously(mockGitHub.apiServer().baseUrl());
try {
hub.checkApiUrlValidity();
} catch (IOException ioe) {