Fix the last tests

This commit is contained in:
2025-12-26 17:44:57 +00:00
parent 2f5faddf04
commit 1d49573fd1
+6
View File
@@ -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",