15881: Update config keys in tests.
authorTom Clegg <tom@tomclegg.ca>
Mon, 11 May 2020 15:06:03 +0000 (11:06 -0400)
committerTom Clegg <tom@tomclegg.ca>
Mon, 11 May 2020 15:06:03 +0000 (11:06 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

lib/controller/federation/login_test.go

index 2de260fdc2493a30857894a85ebef22e7d898670..ad91bcf8028d60960044a4c578a79320587a90ed 100644 (file)
@@ -43,7 +43,8 @@ func (s *LoginSuite) TestDeferToLoginCluster(c *check.C) {
 func (s *LoginSuite) TestLogout(c *check.C) {
        s.cluster.Services.Workbench1.ExternalURL = arvados.URL{Scheme: "https", Host: "workbench1.example.com"}
        s.cluster.Services.Workbench2.ExternalURL = arvados.URL{Scheme: "https", Host: "workbench2.example.com"}
-       s.cluster.Login.GoogleClientID = "zzzzzzzzzzzzzz"
+       s.cluster.Login.Google.Enable = true
+       s.cluster.Login.Google.ClientID = "zzzzzzzzzzzzzz"
        s.addHTTPRemote(c, "zhome", &arvadostest.APIStub{})
        s.cluster.Login.LoginCluster = "zhome"
        // s.fed is already set by SetUpTest, but we need to