From acad27c10836e4edd300d0b5c2eb9c76afbe2be7 Mon Sep 17 00:00:00 2001 From: joshvanl Date: Wed, 18 Sep 2024 14:34:44 +0100 Subject: [PATCH] Fix nil Security on runtime config Signed-off-by: joshvanl --- tests/certification/embedded/embedded.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/certification/embedded/embedded.go b/tests/certification/embedded/embedded.go index 6a2e4e7402..8b94659fa0 100644 --- a/tests/certification/embedded/embedded.go +++ b/tests/certification/embedded/embedded.go @@ -34,6 +34,7 @@ import ( "github.com/dapr/dapr/pkg/modes" "github.com/dapr/dapr/pkg/runtime" "github.com/dapr/dapr/pkg/runtime/registry" + "github.com/dapr/dapr/pkg/security/fake" "github.com/dapr/kit/logger" "github.com/dapr/kit/ptr" "github.com/phayes/freeport" @@ -204,6 +205,7 @@ func NewRuntime(ctx context.Context, appID string, opts ...Option) (*runtime.Dap Registry: registry.NewOptions(), Config: []string{"config.yaml"}, Metrics: metricsOpts, + Security: fake.New(), } for _, opt := range opts {