Skip to content

Commit

Permalink
Update test/smoke/webhook_signing_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Nathaniel Caza <[email protected]>
  • Loading branch information
EvanMerlock and mastercactapus authored Dec 26, 2024
1 parent b098239 commit d435f85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/smoke/webhook_signing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ func TestWebhookSigning(t *testing.T) {

// convert alert.Signature from base64 to byte slice
signatureBytes, err := base64.StdEncoding.DecodeString(alert.Signature)
if !assert.NoError(t, err) {
return
}
require.NoError(t, err)

Check failure on line 76 in test/smoke/webhook_signing_test.go

View workflow job for this annotation

GitHub Actions / lint

undefined: require (typecheck)

valid, _ := h.App().WebhookKeyring.Verify(alert.Body, signatureBytes)

Expand Down

0 comments on commit d435f85

Please sign in to comment.