From 998879c7156bbc4681b0dbd7b2d795273a03d92b Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Wed, 23 Aug 2023 14:31:26 +0300 Subject: [PATCH] Adapt force apply test Signed-off-by: Stefan Prodan --- internal/controller/kustomization_force_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")) }) })