diff --git a/pkg/compose/create_test.go b/pkg/compose/create_test.go index 93d257956..c4b84ed11 100644 --- a/pkg/compose/create_test.go +++ b/pkg/compose/create_test.go @@ -110,7 +110,8 @@ func TestPrepareVolumes(t *testing.T) { }, }, } - prepareVolumes(&project) + err := prepareVolumes(&project) + assert.NilError(t, err) assert.Equal(t, project.Services[0].DependsOn["anotherService"].Condition, composetypes.ServiceConditionStarted) }) t.Run("doesn't overwrite existing dependency condition", func(t *testing.T) { @@ -129,7 +130,8 @@ func TestPrepareVolumes(t *testing.T) { }, }, } - prepareVolumes(&project) + err := prepareVolumes(&project) + assert.NilError(t, err) assert.Equal(t, project.Services[0].DependsOn["anotherService"].Condition, composetypes.ServiceConditionHealthy) }) }