Skip to content

Commit

Permalink
fix errors in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-efremov committed Jun 14, 2016
1 parent 0bbc8d6 commit 068b3d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ public async Task ForkCreatedForUserLoggedInWithRepositoryId()
// The fork is created asynchronously by github and therefore it cannot
// be certain that the repo exists when the test ends. It is therefore deleted
// before the test starts instead of after.
Helper.DeleteRepo(Helper.Credentials.Login, "octokit.net");
Helper.DeleteRepo(Helper.GetAuthenticatedClient().Connection, Helper.Credentials.Login, "octokit.net");

var github = Helper.GetAuthenticatedClient();

Expand Down Expand Up @@ -460,7 +460,7 @@ public async Task ForkCreatedForOrganizationWithRepositoryId()
// The fork is created asynchronously by github and therefore it cannot
// be certain that the repo exists when the test ends. It is therefore deleted
// before the test starts.
Helper.DeleteRepo(Helper.Organization, "octokit.net");
Helper.DeleteRepo(Helper.GetAuthenticatedClient().Connection, Helper.Credentials.Login, "octokit.net");

var github = Helper.GetAuthenticatedClient();

Expand Down

0 comments on commit 068b3d2

Please sign in to comment.