Chore: remove IsDisabled method for access control (#74340)
remove IsDisabled method for access control, clean up tests
This commit is contained in:
@@ -502,7 +502,7 @@ func TestRouteGetRuleStatuses(t *testing.T) {
|
||||
log: log.NewNopLogger(),
|
||||
manager: fakeAIM,
|
||||
store: ruleStore,
|
||||
ac: acmock.New().WithDisabled(),
|
||||
ac: acmock.New(),
|
||||
}
|
||||
|
||||
response := api.RouteGetRuleStatuses(c)
|
||||
|
||||
Reference in New Issue
Block a user