diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2025-02-01 22:44:50 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-02 14:44:50 +0800 |
commit | 23971a77a00d4970b7c209545c9f65db6351d509 (patch) | |
tree | f9c6de2e7b09e2358479024c26771aa814f50a78 /modules/markup/markup_test.go | |
parent | ebac324ff2153602cea1a86c089182ab496f7cd7 (diff) | |
download | gitea-23971a77a00d4970b7c209545c9f65db6351d509.tar.gz gitea-23971a77a00d4970b7c209545c9f65db6351d509.zip |
Add tests for webhook and fix some webhook bugs (#33396) (#33442)release/v1.23
This PR created a mock webhook server in the tests and added integration
tests for generic webhooks.
It also fixes bugs in package webhooks and pull request comment
webhooks.
This also corrected an error on the package webhook. The previous
implementation uses a `User` struct as an organization, now it has been
corrected but it will not be consistent with the previous
implementation, some fields which not belong to the organization have
been removed.
Backport #33396
Backport part of #33337
Diffstat (limited to 'modules/markup/markup_test.go')
0 files changed, 0 insertions, 0 deletions