diff --git a/controllers/event_handling_test.go b/controllers/event_handling_test.go index b0092d4ae..de8466d6d 100644 --- a/controllers/event_handling_test.go +++ b/controllers/event_handling_test.go @@ -100,6 +100,7 @@ func TestEventHandler(t *testing.T) { } webhook_url, err := url.Parse(provider.Spec.Address) + g.Expect(err).ToNot(HaveOccurred()) if err != nil { if eventServerTest.isHttpEnabled {