Skip to content

Commit

Permalink
as: Fix linter warnings in webhooks test
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Vitan committed Sep 2, 2024
1 parent 7140cd2 commit 1fdeb04
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/applicationserver/io/web/webhooks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,6 @@ func TestWebhooks(t *testing.T) {
var req *http.Request
select {
case req = <-sinkCh:
break
case <-time.After(timeout):
t.Fatal("Expected message but nothing received")
}
Expand Down Expand Up @@ -688,7 +687,6 @@ func TestWebhooks(t *testing.T) {
t.Fatalf("Did not expect message but received: %v", req)
case <-time.After(timeout):
// Webhook was not received.
break
}
})
}

0 comments on commit 1fdeb04

Please sign in to comment.