diff --git a/internal/daemon/controller/testing_test.go b/internal/daemon/controller/testing_test.go index 48ba1df43..b0658ad74 100644 --- a/internal/daemon/controller/testing_test.go +++ b/internal/daemon/controller/testing_test.go @@ -93,6 +93,19 @@ func Test_TestController(t *testing.T) { ws := tc.Kms().GetExternalWrappers(testCtx) + assert.NotNil(ws.Root()) + assert.NotNil(ws.WorkerAuth()) + assert.NotNil(ws.Recovery()) + assert.NotNil(ws.Bsr()) + }) + t.Run("controller-external-wrappers", func(t *testing.T) { + testCtx := context.Background() + assert := assert.New(t) + tc := NewTestController(t, nil) + defer tc.Shutdown() + + ws := tc.Kms().GetExternalWrappers(testCtx) + assert.NotNil(ws.Root()) assert.NotNil(ws.WorkerAuth()) assert.NotNil(ws.Recovery())