K8s: use contexthandler in standalone handler chain (#90102)

This commit is contained in:
Charandas
2024-07-08 12:22:10 -07:00
committed by GitHub
parent 3b6a8775bb
commit c210617735
21 changed files with 203 additions and 88 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ import (
)
func setupAuthMiddlewareTest(t *testing.T, identity *authn.Identity, authErr error) *contexthandler.ContextHandler {
return contexthandler.ProvideService(setting.NewCfg(), tracing.InitializeTracerForTest(), featuremgmt.WithFeatures(), &authntest.FakeService{
return contexthandler.ProvideService(setting.NewCfg(), tracing.InitializeTracerForTest(), &authntest.FakeService{
ExpectedErr: authErr,
ExpectedIdentity: identity,
})