This test is invalid if ~/.github file exists, which is quite common

This commit is contained in:
Kohsuke Kawaguchi
2014-10-08 12:15:32 -07:00
parent 372d5ff758
commit 5db90d3fc4

View File

@@ -29,20 +29,6 @@ public class GitHubTest extends TestCase {
assertEquals("https://api.github.com/test", hub.getApiURL("/test").toString());
}
public void testGitHubFromEnvironment() throws IOException {
Map<String, String>props = new HashMap<String, String>();
props.put("login", "bogus");
setupEnvironment(props);
GitHub hub = GitHub.connect();
assertEquals("bogus", hub.login);
}
public void testGitHubBuilderFromEnvironment() throws IOException {
Map<String, String>props = new HashMap<String, String>();