mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-10 08:21:21 +00:00
This test is invalid if ~/.github file exists, which is quite common
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user