X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/dfeee281597cef5539f8c78bc249a6c9bfc19c18..2b59be173b4a860c524c398a6c5f521015bf0939:/lib/controller/auth_test.go diff --git a/lib/controller/auth_test.go b/lib/controller/auth_test.go index ad214b1605..69458655ba 100644 --- a/lib/controller/auth_test.go +++ b/lib/controller/auth_test.go @@ -62,10 +62,9 @@ func (s *AuthSuite) SetUpTest(c *check.C) { s.fakeProvider.ValidClientSecret = "test#client/secret" cluster := &arvados.Cluster{ - ClusterID: "zhome", - PostgreSQL: integrationTestCluster().PostgreSQL, - ForceLegacyAPI14: forceLegacyAPI14, - SystemRootToken: arvadostest.SystemRootToken, + ClusterID: "zhome", + PostgreSQL: integrationTestCluster().PostgreSQL, + SystemRootToken: arvadostest.SystemRootToken, } cluster.TLS.Insecure = true cluster.API.MaxItemsPerResponse = 1000 @@ -95,6 +94,8 @@ func (s *AuthSuite) SetUpTest(c *check.C) { cluster.Login.OpenIDConnect.ClientSecret = s.fakeProvider.ValidClientSecret cluster.Login.OpenIDConnect.EmailClaim = "email" cluster.Login.OpenIDConnect.EmailVerifiedClaim = "email_verified" + cluster.Login.OpenIDConnect.AcceptAccessToken = true + cluster.Login.OpenIDConnect.AcceptAccessTokenScope = "" s.testHandler = &Handler{Cluster: cluster} s.testServer = newServerFromIntegrationTestEnv(c)