From 1d49573fd13fb53f0d47238271692a6c663dabd2 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Fri, 26 Dec 2025 17:44:57 +0000 Subject: [PATCH] Fix the last tests --- pkg/controller/source_reconciler_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/controller/source_reconciler_test.go b/pkg/controller/source_reconciler_test.go index 81405e8..1bb04fe 100644 --- a/pkg/controller/source_reconciler_test.go +++ b/pkg/controller/source_reconciler_test.go @@ -580,6 +580,9 @@ func TestSourceReconciler_Reconcile_AnnotationChange_AllToAllLabeled(t *testing. constants.AnnotationSync: "true", constants.AnnotationTargetNamespaces: "all-labeled", // Changed from "all" }, + "finalizers": []interface{}{ + constants.FinalizerName, + }, }, "data": map[string]interface{}{ "password": "c2VjcmV0", @@ -707,6 +710,9 @@ func TestSourceReconciler_Reconcile_AnnotationChange_PatternChange(t *testing.T) constants.AnnotationSync: "true", constants.AnnotationTargetNamespaces: "prod-*", // Changed from "app-*" }, + "finalizers": []interface{}{ + constants.FinalizerName, + }, }, "data": map[string]interface{}{ "key": "value",