public ObservableEnterpriseLdapClientTests() { _github = new ObservableGitHubClient(EnterpriseHelper.GetAuthenticatedClient()); NewTeam newTeam = new NewTeam(Helper.MakeNameWithTimestamp("test-team")) { Description = "Test Team" }; _context = _github.CreateEnterpriseTeamContext(EnterpriseHelper.Organization, newTeam).Result; }
public TheUpdateProtectedBranchTeamRestrictionsMethod() { _github = Helper.GetAuthenticatedClient(); _client = _github.Repository.Branch; _contextOrgTeam2 = _github.CreateTeamContext(Helper.Organization, new NewTeam(Helper.MakeNameWithTimestamp("team2"))).Result; _orgRepoContext = _github.CreateOrganizationRepositoryWithProtectedBranch().Result; }