File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -102,14 +102,13 @@ func TestEventHandler(t *testing.T) {
102
102
webhook_url , err := url .Parse (provider .Spec .Address )
103
103
g .Expect (err ).ToNot (HaveOccurred ())
104
104
105
- if eventServerTest .isHttpEnabled {
106
- g .Expect (webhook_url .Scheme ).To (Equal (httpScheme ))
107
- g .Expect (requestsReceived ).To (Equal (1 ))
108
- } else {
109
- g .Expect (webhook_url .Scheme ).ToNot (Equal (httpScheme ))
110
- g .Expect (requestsReceived ).To (Equal (0 ))
111
- }
112
- }
105
+ if eventServerTest .isHttpEnabled {
106
+ g .Expect (webhook_url .Scheme ).To (Equal (httpScheme ))
107
+ g .Expect (requestsReceived ).To (Equal (1 ))
108
+ } else {
109
+ g .Expect (webhook_url .Scheme ).ToNot (Equal (httpScheme ))
110
+ g .Expect (requestsReceived ).To (Equal (0 ))
111
+ }
113
112
114
113
})
115
114
}
You can’t perform that action at this time.
0 commit comments