From a828ca240f2a50533dc0878e67b5d8206e1e6dda Mon Sep 17 00:00:00 2001 From: Matt Toohey Date: Mon, 29 Apr 2024 09:13:21 +1000 Subject: [PATCH] fix test --- go-runtime/modulecontext/module_context_test.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/go-runtime/modulecontext/module_context_test.go b/go-runtime/modulecontext/module_context_test.go index 42807c1865..0d28919923 100644 --- a/go-runtime/modulecontext/module_context_test.go +++ b/go-runtime/modulecontext/module_context_test.go @@ -21,13 +21,17 @@ func TestConfigPriority(t *testing.T) { moduleName := "test" - cp := cf.InlineProvider[cf.Configuration]{} + cp := cf.InlineProvider[cf.Configuration]{ + Inline: true, + } cr := cf.NewInMemoryResolver[cf.Configuration]() cm, err := cf.New(ctx, cr, []cf.Provider[cf.Configuration]{cp}) assert.NoError(t, err) ctx = cf.ContextWithConfig(ctx, cm) - sp := cf.InlineProvider[cf.Secrets]{} + sp := cf.InlineProvider[cf.Secrets]{ + Inline: true, + } sr := cf.NewInMemoryResolver[cf.Secrets]() sm, err := cf.New(ctx, sr, []cf.Provider[cf.Secrets]{sp}) assert.NoError(t, err)