We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb9cdf9 commit 19401ffCopy full SHA for 19401ff
e2e/e2e_test.go
@@ -72,7 +72,7 @@ func getRESTClient(t *testing.T) *gogithub.Client {
72
// Create a new GitHub client with the token
73
ghClient := gogithub.NewClient(nil).WithAuthToken(token)
74
75
- if host := getE2EHost(); host != "https://github.com" {
+ if host := getE2EHost(); host != "" && host != "https://github.com" {
76
var err error
77
// Currently this works for GHEC because the API is exposed at the api subdomain and the path prefix
78
// but it would be preferable to extract the host parsing from the main server logic, and use it here.
0 commit comments