Skip to content

Commit

Permalink
add webhook setup call before tests start.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Valdron <[email protected]>
  • Loading branch information
michael-valdron committed Apr 11, 2023
1 parent c411eb8 commit fd16148
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/v1alpha1/webhook_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ var _ = BeforeSuite(func() {
})
Expect(err).NotTo(HaveOccurred())

err = (&DevfileRegistry{}).SetupWebhookWithManager(mgr)
Expect(err).NotTo(HaveOccurred())

err = (&DevfileRegistriesList{}).SetupWebhookWithManager(mgr)
Expect(err).NotTo(HaveOccurred())

Expand Down

0 comments on commit fd16148

Please sign in to comment.