projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bf8892
)
14287: Update test to new config struct.
author
Tom Clegg <tclegg@veritasgenetics.com>
Fri, 14 Jun 2019 18:45:45 +0000
(14:45 -0400)
committer
Tom Clegg <tclegg@veritasgenetics.com>
Mon, 17 Jun 2019 13:54:40 +0000
(09:54 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>
lib/controller/router/router_test.go
patch
|
blob
|
history
diff --git
a/lib/controller/router/router_test.go
b/lib/controller/router/router_test.go
index daa2ac9bf7074d7ae79eb0f6a095aa84de0bda8f..63e5678ec7b9e529af4b2ebe0e5bc79966966baf 100644
(file)
--- a/
lib/controller/router/router_test.go
+++ b/
lib/controller/router/router_test.go
@@
-32,9
+32,8
@@
type RouterSuite struct {
}
func (s *RouterSuite) SetUpTest(c *check.C) {
- cluster := &arvados.Cluster{
- TLS: arvados.TLS{Insecure: true},
- }
+ cluster := &arvados.Cluster{}
+ cluster.TLS.Insecure = true
arvadostest.SetServiceURL(&cluster.Services.RailsAPI, "https://"+os.Getenv("ARVADOS_TEST_API_HOST"))
s.rtr = New(cluster)
}