From 973ff1719c8559a12610ec3d3ffe070d2bb592a9 Mon Sep 17 00:00:00 2001 From: Jaime Martinez Date: Thu, 19 Nov 2020 20:57:02 +1100 Subject: Move flag definition to main Add zip config to appConfig --- internal/serving/disk/zip/serving_test.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'internal/serving') 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() -- cgit v1.2.3