From 0e6c68505d13ce5d8790a846abdd2128d8b33322 Mon Sep 17 00:00:00 2001 From: Abhijeet Shakya Date: Wed, 30 Oct 2024 19:36:34 +0530 Subject: [PATCH] Updating unit tests for drpolicy changes Signed-off-by: Abhijeet Shakya --- internal/controller/util/secrets_util_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/controller/util/secrets_util_test.go b/internal/controller/util/secrets_util_test.go index 0f623f438..7aaf828e2 100644 --- a/internal/controller/util/secrets_util_test.go +++ b/internal/controller/util/secrets_util_test.go @@ -14,6 +14,7 @@ import ( "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" + cpcv1 "open-cluster-management.io/config-policy-controller/api/v1" gppv1 "open-cluster-management.io/governance-policy-propagator/api/v1" ) @@ -35,7 +36,7 @@ var _ = Describe("Secrets_Util", func() { secrets [secretsCount]*corev1.Secret tstNamespace = "default" // 7 chars veleroNS = "default" // 7 chars - objects []interface{} + objects []*cpcv1.ObjectTemplate ) BeforeEach(func() {