Skip to content

Commit

Permalink
Correct the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
slaskis committed Dec 29, 2024
1 parent be5b2ff commit 489b9fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/convert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ func TestConvertWithEnv(t *testing.T) {
assert.Check(t, is.Equal(err, nil))
for _, object := range objects {
if deployment, ok := object.(*appsv1.Deployment); ok {
assert.Check(t, is.Equal(deployment.Spec.Template.Spec.Containers[0].Args[2], "$REDIS_PASSWORD"))
assert.Check(t, is.Equal(deployment.Spec.Template.Spec.Containers[0].LivenessProbe.Exec.Command, "redis-cli -a $REDIS_PASSWORD --raw incr ping"))
assert.Check(t, is.Equal(deployment.Spec.Template.Spec.Containers[0].Args[2], "$(REDIS_PASSWORD)"))
assert.Check(t, is.Equal(deployment.Spec.Template.Spec.Containers[0].LivenessProbe.Exec.Command[0], "redis-cli -a $REDIS_PASSWORD --raw incr ping"))
}
}
}
Expand Down

0 comments on commit 489b9fe

Please sign in to comment.