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

View File

@@ -28,11 +28,11 @@ namespace Octokit.Tests.Integration.Helpers
return new RepositoryContext(repo);
}
internal static async Task<EnterpriseTeamContext> CreateEnterpriseTeamContext(this IObservableGitHubClient client, string organization, NewTeam newTeam)
internal static async Task<TeamContext> CreateEnterpriseTeamContext(this IObservableGitHubClient 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 IObservableGitHubClient client, NewUser newUser)