X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6c0bf267d795a3ca49c3258c9490714c9e18d333..7bd24df9e61784c738668b1b2bab73c198b3c782:/services/arv-git-httpd/integration_test.go diff --git a/services/arv-git-httpd/integration_test.go b/services/arv-git-httpd/integration_test.go index 5e55eca754..10c69eedd3 100644 --- a/services/arv-git-httpd/integration_test.go +++ b/services/arv-git-httpd/integration_test.go @@ -1,3 +1,7 @@ +// Copyright (C) The Arvados Authors. All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0 + package main import ( @@ -73,9 +77,10 @@ func (s *IntegrationSuite) SetUpTest(c *check.C) { APIHost: arvadostest.APIHost(), Insecure: true, }, - Listen: ":0", - GitCommand: "/usr/bin/git", - RepoRoot: s.tmpRepoRoot, + Listen: ":0", + GitCommand: "/usr/bin/git", + RepoRoot: s.tmpRepoRoot, + ManagementToken: arvadostest.ManagementToken, } } @@ -112,6 +117,8 @@ func (s *IntegrationSuite) TearDownTest(c *check.C) { s.tmpWorkdir = "" s.Config = nil + + theConfig = defaultConfig() } func (s *IntegrationSuite) RunGit(c *check.C, token, gitCmd, repo string, args ...string) error {