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 12:57:02 +0300
committerJaime Martinez <jmartinez@gitlab.com>2020-11-30 02:15:10 +0300
commit973ff1719c8559a12610ec3d3ffe070d2bb592a9 (patch)
tree461678cd7fc6249dacbd193aaeea7e3b87c51241 /internal/serving
parentd28903a32e2bfa8a80547e639e941eac4843034f (diff)
Move flag definition to main
Add zip config to appConfig
Diffstat (limited to 'internal/serving')
-rw-r--r--internal/serving/disk/zip/serving_test.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/serving/disk/zip/serving_test.go b/internal/serving/disk/zip/serving_test.go
index 9a7618fe..bca2ae51 100644
--- a/internal/serving/disk/zip/serving_test.go
+++ b/internal/serving/disk/zip/serving_test.go
@@ -8,15 +8,10 @@ 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()