Skip to content

Commit

Permalink
compare value to the expected value
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenan Dervisevic committed Oct 5, 2023
1 parent 86f4976 commit 2d1140e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/k8s/knative_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 2d1140e

Please sign in to comment.