mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-02 19:00:47 +00:00
Update impacted tests to use new Context creation and Delete helper methods
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user