diff --git a/src/services/k8s/knative_test.go b/src/services/k8s/knative_test.go index b14d3a6..3bca8d6 100644 --- a/src/services/k8s/knative_test.go +++ b/src/services/k8s/knative_test.go @@ -83,5 +83,5 @@ func TestLoadManifest(t *testing.T) { pullSecret := serviceManifest.Spec.Template.Spec.ImagePullSecrets[0].Name assert.Assert(t, annotations[UpdateTimestampAnnotationName] != "", "Missing %s annotation", UpdateTimestampAnnotationName) assert.Assert(t, annotations[UpdateShaAnnotationName] == commitSha, "Expected %s SHA, got %s", commitSha, annotations[UpdateShaAnnotationName]) - assert.Assert(t, pullSecret != "", "Missing secret %s", imagePullSecret) + assert.Assert(t, pullSecret == imagePullSecret, "Expected secret value to be %s, got %s", imagePullSecret, pullSecret) }