Fix tests + add deprecation to one of methods

This commit is contained in:
Karol Lassak
2020-04-19 11:38:36 +02:00
parent a3073ec14e
commit b45f353fa9
2 changed files with 4 additions and 3 deletions

View File

@@ -291,7 +291,7 @@ public class AppTest extends AbstractGitHubWireMockTest {
GHOrganization organization = gitHub.getOrganization(GITHUB_API_TEST_ORG);
GHTeam teamByName = organization.getTeams().get("Core Developers");
GHTeam teamById = gitHub.getTeam(teamByName.getId());
GHTeam teamById = gitHub.getTeam((int) teamByName.getId());
assertNotNull(teamById);
assertEquals(teamByName.getId(), teamById.getId());