mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-21 00:11:22 +00:00
use this.organization instead of providing the organization as a parameter
This commit is contained in:
@@ -63,7 +63,7 @@ public class GHTeamTest extends AbstractGitHubWireMockTest {
|
||||
|
||||
GHOrganization org = gitHub.getOrganization(GITHUB_API_TEST_ORG);
|
||||
GHTeam team = org.getTeamBySlug(teamSlug);
|
||||
Set<GHTeam> result = team.getChildTeams(org);
|
||||
Set<GHTeam> result = team.getChildTeams();
|
||||
|
||||
assertEquals(1, result.size());
|
||||
assertEquals("child-team-for-dummy", result.toArray(new GHTeam[]{})[0].getName());
|
||||
|
||||
Reference in New Issue
Block a user