mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 04:16:51 +00:00
Better support for GitHub Enterprise integration tests
- Remove EnterpriseUrl in integration test Helper class, but leave ability to override custom URL (to allow specific use case of targetting regular integration tests at a custom URL) - Move GitHub Enterprise explicit support to a new integration helper class using new OCTOKIT_GHE_ environment variables for GHE - Change existing GitHub Enterprise integration tests and EnterpriseTestAttribute to use the new EnterpriseHelper methods - Enhance configure-intergration-tests.ps1 script to cater for environment variable changes
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ namespace Octokit.Tests.Integration
|
||||
|
||||
public ObservableEnterpriseAdminStatsClientTests()
|
||||
{
|
||||
_github = new ObservableGitHubClient(Helper.GetAuthenticatedClient());
|
||||
_github = new ObservableGitHubClient(EnterpriseHelper.GetAuthenticatedClient());
|
||||
}
|
||||
|
||||
[GitHubEnterpriseTest]
|
||||
|
||||
Reference in New Issue
Block a user