projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
14325: Remove obsolete test stubs.
[arvados.git]
/
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 5e55eca754838d97d2aaa8888482c686306a42cf..10c69eedd3bf2e2c81cb51ea7c92961d108f1204 100644
(file)
--- 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 (
package main
import (
@@
-73,9
+77,10
@@
func (s *IntegrationSuite) SetUpTest(c *check.C) {
APIHost: arvadostest.APIHost(),
Insecure: true,
},
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
s.tmpWorkdir = ""
s.Config = nil
+
+ theConfig = defaultConfig()
}
func (s *IntegrationSuite) RunGit(c *check.C, token, gitCmd, repo string, args ...string) error {
}
func (s *IntegrationSuite) RunGit(c *check.C, token, gitCmd, repo string, args ...string) error {