From d9a6950bb49fe3e0cc73aa21bc0620995e112b2c Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Tue, 7 May 2019 09:47:01 -0400 Subject: [PATCH] 14287: Fix token in container test. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- lib/controller/router/router_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controller/router/router_test.go b/lib/controller/router/router_test.go index 22d08c8423..f43c69f465 100644 --- a/lib/controller/router/router_test.go +++ b/lib/controller/router/router_test.go @@ -112,7 +112,7 @@ func (s *RouterSuite) TestContainerList(c *check.C) { func (s *RouterSuite) TestContainerLock(c *check.C) { uuid := arvadostest.QueuedContainerUUID - token := arvadostest.ActiveTokenV2 + token := arvadostest.AdminToken _, rw, jresp := s.doRequest(c, token, "POST", "/arvados/v1/containers/"+uuid+"/lock", nil, nil) c.Check(rw.Code, check.Equals, http.StatusOK) c.Check(jresp["uuid"], check.HasLen, 27) -- 2.30.2