Fix linting issues

Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
Laura Brehm 2022-09-15 10:04:06 -04:00
parent b564cc5a17
commit cfdec21a7f
No known key found for this signature in database
GPG Key ID: 526E3FC49260D47A
1 changed files with 4 additions and 2 deletions

View File

@ -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)
})
}