mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-04 00:11:24 +00:00
Cleanup tabs and whitespace
This commit is contained in:
@@ -217,23 +217,23 @@ public class AppTest extends AbstractGitHubWireMockTest {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void testUserPublicOrganizationsWhenThereAreSome() throws IOException {
|
||||
// kohsuke had some public org memberships at the time Wiremock recorded the GitHub API responses
|
||||
GHUser user = new GHUser();
|
||||
user.login = "kohsuke";
|
||||
|
||||
// kohsuke had some public org memberships at the time Wiremock recorded the GitHub API responses
|
||||
GHUser user = new GHUser();
|
||||
user.login = "kohsuke";
|
||||
|
||||
Map<String, GHOrganization> orgs = gitHub.getUserPublicOrganizations( user );
|
||||
assertFalse(orgs.isEmpty());
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void testUserPublicOrganizationsWhenThereAreNone() throws IOException {
|
||||
// bitwiseman had no public org memberships at the time Wiremock recorded the GitHub API responses
|
||||
GHUser user = new GHUser();
|
||||
user.login = "bitwiseman";
|
||||
|
||||
// bitwiseman had no public org memberships at the time Wiremock recorded the GitHub API responses
|
||||
GHUser user = new GHUser();
|
||||
user.login = "bitwiseman";
|
||||
|
||||
Map<String, GHOrganization> orgs = gitHub.getUserPublicOrganizations( user );
|
||||
assertTrue(orgs.isEmpty());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user