X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1e13d4ecffd4d335eb7918a7b9bd992f3f192cd1..107af77a83788ebdd0cbcfdcae91fed44deec11d:/services/ws/service_test.go diff --git a/services/ws/service_test.go b/services/ws/service_test.go index 7213dcad2a..4e68d09da2 100644 --- a/services/ws/service_test.go +++ b/services/ws/service_test.go @@ -72,7 +72,7 @@ func (*serviceSuite) testConfig(c *check.C) (*arvados.Cluster, error) { cluster.TLS.Insecure = client.Insecure cluster.PostgreSQL.Connection = testDBConfig() cluster.PostgreSQL.ConnectionPool = 12 - cluster.Services.Websocket.InternalURLs = map[arvados.URL]arvados.ServiceInstance{arvados.URL{Host: ":"}: arvados.ServiceInstance{}} + cluster.Services.Websocket.InternalURLs = map[arvados.URL]arvados.ServiceInstance{{Host: ":"}: {}} cluster.ManagementToken = arvadostest.ManagementToken return cluster, nil } @@ -198,7 +198,7 @@ ManagementToken: qqqqq c.Check(err, check.IsNil) c.Check(cluster, check.NotNil) - c.Check(cluster.Services.Controller.ExternalURL, check.Equals, arvados.URL{Scheme: "https", Host: "example.com"}) + c.Check(cluster.Services.Controller.ExternalURL, check.Equals, arvados.URL{Scheme: "https", Host: "example.com", Path: "/"}) c.Check(cluster.SystemRootToken, check.Equals, "abcdefg") c.Check(cluster.PostgreSQL.Connection, check.DeepEquals, arvados.PostgreSQLConnection{