diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/acceptance/acceptance_test.go | 17 | ||||
-rw-r--r-- | test/acceptance/helpers_test.go | 2 | ||||
-rw-r--r-- | test/acceptance/stub_test.go | 1 |
3 files changed, 0 insertions, 20 deletions
diff --git a/test/acceptance/acceptance_test.go b/test/acceptance/acceptance_test.go index becae777..e6b50c10 100644 --- a/test/acceptance/acceptance_test.go +++ b/test/acceptance/acceptance_test.go @@ -67,20 +67,3 @@ func TestMain(m *testing.M) { os.Exit(m.Run()) } - -func skipUnlessEnabled(t *testing.T, conditions ...string) { - t.Helper() - - for _, condition := range conditions { - switch condition { - case "not-inplace-chroot": - if os.Getenv("TEST_DAEMONIZE") == "inplace" { - t.Log("Not supported with -daemon-inplace-chroot") - t.SkipNow() - } - default: - t.Error("Unknown condition:", condition) - t.FailNow() - } - } -} diff --git a/test/acceptance/helpers_test.go b/test/acceptance/helpers_test.go index 1c168b86..4ea28b2a 100644 --- a/test/acceptance/helpers_test.go +++ b/test/acceptance/helpers_test.go @@ -545,8 +545,6 @@ func waitForRoundtrips(t *testing.T, listeners []ListenSpec, timeout time.Durati type stubOpts struct { m sync.RWMutex apiCalled bool - enableSSL bool - enableSSLEnv bool statusReadyCount int authHandler http.HandlerFunc userHandler http.HandlerFunc diff --git a/test/acceptance/stub_test.go b/test/acceptance/stub_test.go index 6523c672..10bd3cf6 100644 --- a/test/acceptance/stub_test.go +++ b/test/acceptance/stub_test.go @@ -138,7 +138,6 @@ func CreateGitLabAPISecretKeyFixtureFile(t *testing.T) (filepath string) { return secretfile.Name() } -// TODO: NEED TO MOVE THIS to handler in api_responses func handleAccessControlArtifactRequests(t *testing.T, w http.ResponseWriter, r *http.Request) bool { authorization := r.Header.Get("Authorization") |