Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Apr 28, 2024
1 parent 300ded9 commit a828ca2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions go-runtime/modulecontext/module_context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a828ca2

Please sign in to comment.