diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2020-11-19 12:57:02 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2020-11-30 02:15:10 +0300 |
commit | 973ff1719c8559a12610ec3d3ffe070d2bb592a9 (patch) | |
tree | 461678cd7fc6249dacbd193aaeea7e3b87c51241 /internal/serving | |
parent | d28903a32e2bfa8a80547e639e941eac4843034f (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.go | 5 |
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() |