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
@@ -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]