Chore: remove IsDisabled method for access control (#74340)
remove IsDisabled method for access control, clean up tests
This commit is contained in:
@@ -271,7 +271,7 @@ func TestRouteEvalQueries(t *testing.T) {
|
||||
|
||||
func createTestingApiSrv(t *testing.T, ds *fakes.FakeCacheService, ac *acMock.Mock, evaluator eval.EvaluatorFactory) *TestingApiSrv {
|
||||
if ac == nil {
|
||||
ac = acMock.New().WithDisabled()
|
||||
ac = acMock.New()
|
||||
}
|
||||
|
||||
return &TestingApiSrv{
|
||||
|
||||
Reference in New Issue
Block a user