rename EnterpriseTeamContext to TeamContext

This commit is contained in:
maddin2016
2016-06-08 10:15:41 +02:00
parent f04b643d84
commit 71f992a478
6 changed files with 9 additions and 9 deletions
@@ -26,11 +26,11 @@ namespace Octokit.Tests.Integration.Helpers
return new RepositoryContext(repo);
}
internal static async Task<EnterpriseTeamContext> CreateEnterpriseTeamContext(this IGitHubClient client, string organization, NewTeam newTeam)
internal static async Task<TeamContext> CreateEnterpriseTeamContext(this IGitHubClient client, string organization, NewTeam newTeam)
{
var team = await client.Organization.Team.Create(organization, newTeam);
return new EnterpriseTeamContext(team);
return new TeamContext(team);
}
internal static async Task<EnterpriseUserContext> CreateEnterpriseUserContext(this IGitHubClient client, NewUser newUser)