From 7d015e417716ab96e9a17efbe4c378ffe4bbe333 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/controllers/core/catalog_controller_test.go b/pkg/controllers/core/catalog_controller_test.go index a7ca8ce8..b7b721bb 100644 --- a/pkg/controllers/core/catalog_controller_test.go +++ b/pkg/controllers/core/catalog_controller_test.go @@ -49,6 +49,8 @@ var _ = Describe("Catalogd Controller Test", func() { ) BeforeEach(func() { ctx = context.Background() + features.CatalogdFeatureGate.Set("PackagesBundleMetadataAPIs=true") + features.CatalogdFeatureGate.Set("CatalogMetadataAPI=true") mockSource = &MockSource{} reconciler = &core.CatalogReconciler{ Client: cl,