From 068b3d2105857effd6e13580ea15551ac71ff929 Mon Sep 17 00:00:00 2001 From: "aedampir@gmail.com" Date: Tue, 14 Jun 2016 14:36:15 +0700 Subject: [PATCH] fix errors in integration tests --- .../Clients/RepositoryForksClientTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Octokit.Tests.Integration/Clients/RepositoryForksClientTests.cs b/Octokit.Tests.Integration/Clients/RepositoryForksClientTests.cs index e89ea4b64e..c2f8db1a84 100644 --- a/Octokit.Tests.Integration/Clients/RepositoryForksClientTests.cs +++ b/Octokit.Tests.Integration/Clients/RepositoryForksClientTests.cs @@ -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(); @@ -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();