From 7d09c08147e247761c5c6150f2859ff2110d9a9e Mon Sep 17 00:00:00 2001 From: Rashmi Gottipati Date: Wed, 21 Jun 2023 09:58:52 -0400 Subject: [PATCH] Enable feature gate in unit test Signed-off-by: Rashmi Gottipati --- pkg/controllers/core/catalog_controller_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/controllers/core/catalog_controller_test.go b/pkg/controllers/core/catalog_controller_test.go index a7ca8ce8..99f349f0 100644 --- a/pkg/controllers/core/catalog_controller_test.go +++ b/pkg/controllers/core/catalog_controller_test.go @@ -49,6 +49,7 @@ var _ = Describe("Catalogd Controller Test", func() { ) BeforeEach(func() { ctx = context.Background() + features.CatalogdFeatureGate.Set("PackagesBundleMetadataAPIs=true") mockSource = &MockSource{} reconciler = &core.CatalogReconciler{ Client: cl,