You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services/webhook
KN4CK3R 4fcae3d06d
Add tests for all webhooks (#16214)
* Added tests for MS Teams.

* Added tests for Dingtalk.

* Added tests for Telegram.

* Added tests for Feishu.

* Added tests for Discord.

* Added tests for closed issue and pullrequest comment.

* Added tests for Matrix.

* Trim all spaces.

* Added tests for Slack.

* Added JSONPayload tests.

* Added general tests.

* Replaced duplicated code.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
3 years ago
..
deliver.go fix webhook timeout bug (#15613) 3 years ago
deliver_test.go Move webhook type from int to string (#13664) 4 years ago
dingtalk.go Add tests for all webhooks (#16214) 3 years ago
dingtalk_test.go Add tests for all webhooks (#16214) 3 years ago
discord.go Add tests for all webhooks (#16214) 3 years ago
discord_test.go Add tests for all webhooks (#16214) 3 years ago
feishu.go Add tests for all webhooks (#16214) 3 years ago
feishu_test.go Add tests for all webhooks (#16214) 3 years ago
general.go Add tests for all webhooks (#16214) 3 years ago
general_test.go Add tests for all webhooks (#16214) 3 years ago
main_test.go Move webhook type from int to string (#13664) 4 years ago
matrix.go Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
matrix_test.go Add tests for all webhooks (#16214) 3 years ago
msteams.go Add tests for all webhooks (#16214) 3 years ago
msteams_test.go Add tests for all webhooks (#16214) 3 years ago
payloader.go Move webhook type from int to string (#13664) 4 years ago
slack.go Add tests for all webhooks (#16214) 3 years ago
slack_test.go Add tests for all webhooks (#16214) 3 years ago
telegram.go Add tests for all webhooks (#16214) 3 years ago
telegram_test.go Add tests for all webhooks (#16214) 3 years ago
webhook.go fix a small nit (#14769) 3 years ago
webhook_test.go Move webhook type from int to string (#13664) 4 years ago