Exemple #1
0
            public TheUpdateReviewEnforcementMethod()
            {
                var github = Helper.GetAuthenticatedClient();

                _client = new ObservableRepositoryBranchesClient(github);

                _userRepoContext = github.CreateRepositoryWithProtectedBranch().Result;
                _orgRepoContext  = github.CreateOrganizationRepositoryWithProtectedBranch().Result;
            }
Exemple #2
0
 public TheRemoveReviewEnforcementMethod()
 {
     _github = Helper.GetAuthenticatedClient();
     _client = new ObservableRepositoryBranchesClient(_github);
 }
Exemple #3
0
 public TheDeleteBranchProtectionMethod()
 {
     _github = Helper.GetAuthenticatedClient();
     _client = new ObservableRepositoryBranchesClient(_github);
 }