projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c84e8e6
)
Controller test fix.
author
Ward Vandewege <ward@curii.com>
Thu, 28 Oct 2021 23:47:05 +0000
(19:47 -0400)
committer
Ward Vandewege <ward@curii.com>
Thu, 28 Oct 2021 23:47:05 +0000
(19:47 -0400)
refs #18183
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>
lib/controller/integration_test.go
patch
|
blob
|
history
diff --git
a/lib/controller/integration_test.go
b/lib/controller/integration_test.go
index 8a23bccfb772ce385a40a8334b27df8bbbcbe56f..02061547bf5b826b1618ac37298a876cd205b30b 100644
(file)
--- a/
lib/controller/integration_test.go
+++ b/
lib/controller/integration_test.go
@@
-831,11
+831,9
@@
func (s *IntegrationSuite) TestListUsers(c *check.C) {
}
c.Check(found, check.Equals, true)
- // Deactivated user can see is_active==false via "get current
- // user" API
+ // Deactivated user no longer has working token
user1, err = conn3.UserGetCurrent(userctx1, arvados.GetOptions{})
- c.Assert(err, check.IsNil)
- c.Check(user1.IsActive, check.Equals, false)
+ c.Assert(err, check.ErrorMatches, `.*401 Unauthorized.*`)
}
func (s *IntegrationSuite) TestSetupUserWithVM(c *check.C) {