mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-04 08:21:23 +00:00
Fix tests + add deprecation to one of methods
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user