Skip to content

Commit a272ab9

Browse files
committed
test
1 parent a693328 commit a272ab9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/test/java/org/kohsuke/AppTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ public void tryOrgFork() throws Exception {
2727
gh.getUser("kohsuke").getRepository("rubywm").forkTo(gh.getOrganization("jenkinsci"));
2828
}
2929

30+
public void tryGetTeamsForRepo() throws Exception {
31+
GitHub gh = GitHub.connect();
32+
Set<GHTeam> o = gh.getOrganization("jenkinsci").getRepository("rubywm").getTeams();
33+
System.out.println(o);
34+
}
35+
3036
public void testMembership() throws Exception {
3137
GitHub gitHub = GitHub.connect();
3238
Set<String> members = gitHub.getOrganization("jenkinsci").getRepository("violations-plugin").getCollaboratorNames();

0 commit comments

Comments
 (0)