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-11-19 03:53:30 +0300
committerJaime Martinez <jmartinez@gitlab.com>2020-11-30 02:15:10 +0300
commitd28903a32e2bfa8a80547e639e941eac4843034f (patch)
treeb66ecbcf804287740fd8d3771b88e94c6ed42185 /internal/serving/disk/zip
parent22ede0d8ea69bf26929825a75dad4172ef25cc26 (diff)
Log zip config
Diffstat (limited to 'internal/serving/disk/zip')
-rw-r--r--internal/serving/disk/zip/serving_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/serving/disk/zip/serving_test.go b/internal/serving/disk/zip/serving_test.go
index bca2ae51..9a7618fe 100644
--- a/internal/serving/disk/zip/serving_test.go
+++ b/internal/serving/disk/zip/serving_test.go
@@ -8,10 +8,15 @@ import (
"github.com/stretchr/testify/require"
+ cfg "gitlab.com/gitlab-org/gitlab-pages/internal/config"
"gitlab.com/gitlab-org/gitlab-pages/internal/serving"
"gitlab.com/gitlab-org/gitlab-pages/internal/testhelpers"
)
+func init() {
+ cfg.Init()
+}
+
func TestZip_ServeFileHTTP(t *testing.T) {
testServerURL, cleanup := newZipFileServerURL(t, "group/zip.gitlab.io/public-without-dirs.zip")
defer cleanup()