Skip to content

Commit

Permalink
Enable feature gate in unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Rashmi Gottipati <chowdary.grashmi@gmail.com>
  • Loading branch information
rashmigottipati committed Jun 21, 2023
1 parent 12d4422 commit 52dfb5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/controllers/core/catalog_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ var _ = Describe("Catalogd Controller Test", func() {
)
BeforeEach(func() {
ctx = context.Background()
Expect(features.CatalogdFeatureGate.Set("PackagesBundleMetadataAPIs=true")).NotTo(HaveOccurred())
Expect(features.CatalogdFeatureGate.Set("CatalogMetadataAPI=true")).NotTo(HaveOccurred())
mockSource = &MockSource{}
reconciler = &core.CatalogReconciler{
Client: cl,
Expand Down

0 comments on commit 52dfb5c

Please sign in to comment.