projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '21894-diagnostics-dev-version-mismatch'
[arvados.git]
/
services
/
ws
/
permission_test.go
diff --git
a/services/ws/permission_test.go
b/services/ws/permission_test.go
index 5e90881a03d7bb1c076d79c0d24c59f612919803..2a22eae609d4c154d5ccff8174ee316662b7da4c 100644
(file)
--- a/
services/ws/permission_test.go
+++ b/
services/ws/permission_test.go
@@
-21,7
+21,7
@@
func (s *permSuite) TestCheck(c *check.C) {
// Disable auto-retry
client.Timeout = 0
// Disable auto-retry
client.Timeout = 0
- pc := newPermChecker(
*
client).(*cachingPermChecker)
+ pc := newPermChecker(client).(*cachingPermChecker)
setToken := func(label, token string) {
c.Logf("...%s token %q", label, token)
pc.SetToken(token)
setToken := func(label, token string) {
c.Logf("...%s token %q", label, token)
pc.SetToken(token)
@@
-73,7
+73,7
@@
func (s *permSuite) TestCheck(c *check.C) {
pc.SetToken(arvadostest.ActiveToken)
c.Log("...network error")
pc.SetToken(arvadostest.ActiveToken)
c.Log("...network error")
- pc.
Client
.APIHost = "127.0.0.1:9"
+ pc.
ac
.APIHost = "127.0.0.1:9"
wantError(arvadostest.UserAgreementCollection)
wantError(arvadostest.FooBarDirCollection)
wantError(arvadostest.UserAgreementCollection)
wantError(arvadostest.FooBarDirCollection)