Fix: RBAC handle error no resolver found (#55676)

* Fix: Handle error no resolver found

* Fix test not to expect the error
This commit is contained in:
Gabriel MABILLE
2022-09-27 09:43:50 +02:00
committed by GitHub
parent e2f3ce1703
commit f6365646a7
2 changed files with 5 additions and 1 deletions
@@ -87,7 +87,7 @@ func TestEvaluatingPermissions(t *testing.T) {
{evaluator: accesscontrol.EvalPermission(accesscontrol.ActionUsersCreate, accesscontrol.ScopeGlobalUsersAll)},
},
evalResult: false,
expectedErr: accesscontrol.ErrResolverNotFound,
expectedErr: nil,
},
}
for _, tc := range testCases {