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",