mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-19 13:45:12 +00:00
rename EnterpriseTeamContext to TeamContext
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user