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:
authorEric Eastwood <contact@ericeastwood.com>2020-10-07 08:10:50 +0300
committerEric Eastwood <contact@ericeastwood.com>2020-10-07 08:10:50 +0300
commit21ba95871e6196f6340cee4b1ce3384931c0a000 (patch)
tree4bf183430114f4cf032bacc41b86fc41200a5577 /acceptance_test.go
parent2971b8b92c67a2f647c6c8d4ecd6da7360cea72a (diff)
Enable redirects by default24-redirects-by-default
- Part of https://gitlab.com/gitlab-org/gitlab-pages/-/issues/24 - Original feature added in https://gitlab.com/gitlab-org/gitlab-pages/-/merge_requests/336 - Feature was verified working in in production: https://ops.gitlab.net/gitlab-cookbooks/chef-repo/-/merge_requests/4247#note_92527 - Feature toggle docs being removed in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/42759
Diffstat (limited to 'acceptance_test.go')
-rw-r--r--acceptance_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/acceptance_test.go b/acceptance_test.go
index 87cd307c..83f09cdf 100644
--- a/acceptance_test.go
+++ b/acceptance_test.go
@@ -525,7 +525,7 @@ func TestDisabledRedirects(t *testing.T) {
func TestRedirectStatusPage(t *testing.T) {
skipUnlessEnabled(t)
- teardown := RunPagesProcessWithEnvs(t, true, *pagesBinary, listeners, "", []string{"FF_ENABLE_REDIRECTS=true"})
+ teardown := RunPagesProcess(t, *pagesBinary, listeners, "")
defer teardown()
rsp, err := GetPageFromListener(t, httpListener, "group.redirects.gitlab-example.com", "/project-redirects/_redirects")
@@ -542,7 +542,7 @@ func TestRedirectStatusPage(t *testing.T) {
func TestRedirect(t *testing.T) {
skipUnlessEnabled(t)
- teardown := RunPagesProcessWithEnvs(t, true, *pagesBinary, listeners, "", []string{"FF_ENABLE_REDIRECTS=true"})
+ teardown := RunPagesProcess(t, *pagesBinary, listeners, "")
defer teardown()
// Test that serving a file still works with redirects enabled