9950: Propagate Client.Insecure config to arvadosclient library via ARVADOS_API_HOST_...
[arvados.git] / services / arv-git-httpd / gitolite_test.go
index d21a814a61ab88499f0434de5dc73fba1b0a7fc3..219eb11cda2141f45106e9ffc4a551b241767345 100644 (file)
@@ -44,7 +44,8 @@ func (s *GitoliteSuite) SetUpTest(c *check.C) {
        s.tmpRepoRoot = s.gitoliteHome + "/repositories"
        s.Config = &Config{
                Client: arvados.Client{
-                       APIHost: os.Getenv("ARVADOS_API_HOST"),
+                       APIHost:  os.Getenv("ARVADOS_API_HOST"),
+                       Insecure: true,
                },
                Listen:     ":0",
                GitCommand: "/usr/share/gitolite3/gitolite-shell",