diff --git a/internal/controller/kustomization_force_test.go b/internal/controller/kustomization_force_test.go index edc353cb..d27bf85a 100644 --- a/internal/controller/kustomization_force_test.go +++ b/internal/controller/kustomization_force_test.go @@ -144,7 +144,7 @@ stringData: events := getEvents(resultK.GetName(), map[string]string{"kustomize.toolkit.fluxcd.io/revision": revision}) g.Expect(len(events) > 0).To(BeTrue()) g.Expect(events[0].Type).To(BeIdenticalTo("Warning")) - g.Expect(events[0].Message).To(ContainSubstring("invalid, error: secret is immutable")) + g.Expect(events[0].Message).To(ContainSubstring("field is immutable")) }) })