func TestRecordAuthorizationDecisionsTotal(t *testing.T) { … } type dummyAuthorizer … func (d *dummyAuthorizer) Authorize(ctx context.Context, attrs authorizer.Attributes) (authorizer.Decision, string, error) { … }
func TestRecordAuthorizationDecisionsTotal(t *testing.T) { … } type dummyAuthorizer … func (d *dummyAuthorizer) Authorize(ctx context.Context, attrs authorizer.Attributes) (authorizer.Decision, string, error) { … }