mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 03:30:34 +00:00
Update impacted tests to use new Context creation and Delete helper methods
This commit is contained in:
@@ -101,6 +101,6 @@ public class ObservableRespositoryDeployKeysClientTests : IDisposable
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Helper.DeleteRepo(_repository);
|
||||
Helper.DeleteRepo(Helper.GetAuthenticatedClient().Connection, _repository);
|
||||
}
|
||||
}
|
||||
@@ -82,7 +82,7 @@ namespace Octokit.Tests.Integration.Clients
|
||||
}
|
||||
|
||||
// Remove user if it was already renamed
|
||||
EnterpriseHelper.DeleteUser(renamedUsername);
|
||||
EnterpriseHelper.DeleteUser(_github.Connection, renamedUsername);
|
||||
}
|
||||
|
||||
[GitHubEnterpriseTest]
|
||||
|
||||
Reference in New Issue
Block a user