From 489b9feb4b7cf738519c8ce774a69d023b933b69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sk=C3=B6ld?= Date: Sat, 28 Dec 2024 17:45:46 -0700 Subject: [PATCH] Correct the tests --- client/convert_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/convert_test.go b/client/convert_test.go index cf1617456..794685a8e 100644 --- a/client/convert_test.go +++ b/client/convert_test.go @@ -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")) } } }