Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2020-04-22 07:38:28 +0300
committerVladimir Shushlin <v.shushlin@gmail.com>2020-05-08 15:06:07 +0300
commitc50b59d216af4d5929587e8ef5b460acbcd3cdd4 (patch)
tree689dfbea9aaf2f1e84063b2270a4a420aa1e1ec4 /helpers_test.go
parentb9c69dc5390d15e114d0771d2c217a4be80693b2 (diff)
Rename test config file
Diffstat (limited to 'helpers_test.go')
-rw-r--r--helpers_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers_test.go b/helpers_test.go
index e6a8d03e..94d699ae 100644
--- a/helpers_test.go
+++ b/helpers_test.go
@@ -185,21 +185,21 @@ func RunPagesProcessWithEnvs(t *testing.T, wait bool, pagesPath string, listener
func RunPagesProcessWithAuth(t *testing.T, pagesPath string, listeners []ListenSpec, promPort string) func() {
return runPagesProcess(t, true, pagesPath, listeners, promPort, nil,
- "-config="+accessControlConfigFile,
+ "-config="+configFile,
"-auth-server=https://gitlab-auth.com",
"-auth-redirect-uri=https://projects.gitlab-example.com/auth")
}
func RunPagesProcessWithAuthServer(t *testing.T, pagesPath string, listeners []ListenSpec, promPort string, authServer string) func() {
return runPagesProcess(t, true, pagesPath, listeners, promPort, nil,
- "-config="+accessControlConfigFile,
+ "-config="+configFile,
"-auth-server="+authServer,
"-auth-redirect-uri=https://projects.gitlab-example.com/auth")
}
func RunPagesProcessWithAuthServerWithSSL(t *testing.T, pagesPath string, listeners []ListenSpec, promPort string, sslCertFile string, authServer string) func() {
return runPagesProcess(t, true, pagesPath, listeners, promPort, []string{"SSL_CERT_FILE=" + sslCertFile},
- "-config="+accessControlConfigFile,
+ "-config="+configFile,
"-auth-server="+authServer,
"-auth-redirect-uri=https://projects.gitlab-example.com/auth")
}