Update impacted tests to use new Context creation and Delete helper methods

This commit is contained in:
Ryan Gribble
2016-06-08 21:46:39 +10:00
parent 7fa1faa5c4
commit acbc3fec00
5 changed files with 12 additions and 12 deletions
@@ -43,7 +43,7 @@ namespace Octokit.Tests.Integration.Clients
// 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();
@@ -60,7 +60,7 @@ namespace Octokit.Tests.Integration.Clients
// 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.Organization, "octokit.net");
var github = Helper.GetAuthenticatedClient();