diff options
author | Otto <otto@codeberg.org> | 2024-10-09 18:02:49 +0200 |
---|---|---|
committer | Otto <otto@codeberg.org> | 2024-10-09 18:02:49 +0200 |
commit | ca2c850122b148976993f6c915ca28bef9770453 (patch) | |
tree | fc16d9f52250039a8a01955014248960ffacb0ba /tests | |
parent | update git book link to v2 (#5503) (diff) | |
parent | fix: improve discord webhook api conformance (diff) | |
download | forgejo-ca2c850122b148976993f6c915ca28bef9770453.tar.xz forgejo-ca2c850122b148976993f6c915ca28bef9770453.zip |
Merge pull request 'fix: correct Discord webhook JSON for issue events' (#5492) from kidsan/forgejo:discord-api-conformance into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5492
Reviewed-by: Otto <otto@codeberg.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/repo_webhook_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/integration/repo_webhook_test.go b/tests/integration/repo_webhook_test.go index b98fce0f4a..8f65b5c34f 100644 --- a/tests/integration/repo_webhook_test.go +++ b/tests/integration/repo_webhook_test.go @@ -172,6 +172,7 @@ func TestWebhookForms(t *testing.T) { })) t.Run("discord/required", testWebhookForms("discord", session, map[string]string{ + "username": "john", "payload_url": "https://discord.example.com", })) t.Run("discord/optional", testWebhookForms("discord", session, map[string]string{ |