Skip to content

Commit 0acb43d

Browse files
committed
[e2e] fix cleanup
1 parent cf52274 commit 0acb43d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/e2e/webhooks_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func TestWebhooks_Post(t *testing.T) {
208208
t.Cleanup(func() {
209209
_, err := authorizedClient.R().Delete("webhooks/" + result.ID)
210210
if err != nil {
211-
t.Fatal(err)
211+
t.Error(err)
212212
}
213213
})
214214

@@ -251,7 +251,7 @@ func TestWebhooks_Post(t *testing.T) {
251251
t.Cleanup(func() {
252252
_, err := authorizedClient.R().Delete("webhooks/" + result.ID)
253253
if err != nil {
254-
t.Fatal(err)
254+
t.Error(err)
255255
}
256256
})
257257

@@ -296,7 +296,7 @@ func TestWebhooks_Post(t *testing.T) {
296296
t.Cleanup(func() {
297297
_, err := authorizedClient.R().Delete("webhooks/" + result.ID)
298298
if err != nil {
299-
t.Fatal(err)
299+
t.Error(err)
300300
}
301301
})
302302

0 commit comments

Comments
 (0)