diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-12-04 16:04:54 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-12-04 16:04:54 +0300 |
commit | 6b76b603ec5296666ec48d2e736cc66648f29504 (patch) | |
tree | 3c2cb02406644a0b233ec90fe95aaaab4b93847a /acceptance_test.go | |
parent | 8296ddf86fcc88f4b114ac8609cd9350e025e263 (diff) |
Check presence of GitLab API secret when building a domains source
Diffstat (limited to 'acceptance_test.go')
-rw-r--r-- | acceptance_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/acceptance_test.go b/acceptance_test.go index 6f2e5fb4..dfa334b9 100644 --- a/acceptance_test.go +++ b/acceptance_test.go @@ -1536,7 +1536,8 @@ func TestGitlabDomainsSource(t *testing.T) { defer source.Close() newSourceDomains := "GITLAB_NEW_SOURCE_DOMAINS=new-source-test.gitlab.io,other-test.gitlab.io" - teardown := RunPagesProcessWithEnvs(t, true, *pagesBinary, listeners, "", []string{newSourceDomains}, "-gitlab-server", source.URL) + pagesArgs := []string{"-gitlab-server", source.URL, "-api-secret-key", "README.md"} + teardown := RunPagesProcessWithEnvs(t, true, *pagesBinary, listeners, "", []string{newSourceDomains}, pagesArgs...) defer teardown() response, err := GetPageFromListener(t, httpListener, "new-source-test.gitlab.io", "/my/pages/project/") |