From 21ba95871e6196f6340cee4b1ce3384931c0a000 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Wed, 7 Oct 2020 00:10:50 -0500 Subject: Enable 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 --- acceptance_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'acceptance_test.go') 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 -- cgit v1.2.3