Skip to content
Snippets Groups Projects
Unverified Commit a5238e86 authored by Stefan Prodan's avatar Stefan Prodan
Browse files

Adapt event test for kustomize-controller v0.15

parent 0e747790
No related branches found
No related tags found
No related merge requests found
......@@ -814,7 +814,7 @@ func TestEventHubNotification(t *testing.T) {
if event.InvolvedObject.Kind != "Kustomization" {
return false
}
if event.Message != "Health check passed" {
if strings.Contains(event.Message, "Health check passed") {
return false
}
return true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment