forgejo/services/webhook
Earl Warren 7e489eed25 chore: merge tests.AddFixtures and unittest.OverrideFixtures (#7648)
The only parameter that is ever used is a single directory, make it that only instead of a more complex option structure.

Remove tests.AddFixtures that was the simpler form because it is now redundant.

---

Backporting to v11.0 will help with automated backporting of bug fixes in need of custom made fixtures.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7648
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-04-25 09:14:33 +00:00
..
shared chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
sourcehut chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
TestPushCommits feat: add commit limit for webhook payload (#6797) 2025-02-07 19:26:50 +00:00
default.go feat(ui): redesign migration selection screen (#6795) 2025-04-19 13:51:35 +00:00
default_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
deliver.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
deliver_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
dingtalk.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
dingtalk_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
discord.go use base.TruncateString instead of TruncateRune 2025-04-10 13:49:18 +02:00
discord_test.go Fix discord webhook 400 status code when description limit is exceeded (#34084) 2025-04-07 18:27:08 +02:00
feishu.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
feishu_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
general.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
general_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
gogs.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
main_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
matrix.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
matrix_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
msteams.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
msteams_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
notifier.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
notifier_test.go chore: merge tests.AddFixtures and unittest.OverrideFixtures (#7648) 2025-04-25 09:14:33 +00:00
packagist.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
packagist_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
slack.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
slack_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
telegram.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
telegram_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
webhook.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
webhook_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
wechatwork.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00