forgejo/tests
Earl Warren e9e3b8c0f3
fix(api): issue state change is not idempotent
The PATCH if issue & pull request switched to use the service
functions instead. However, the service function changing the state is
not idempotent. Instead of doing nothing which changing from open to
open or close to close, it will fail with an error like:

 Issue [2472] 0 was already closed

Regression of: 6a4bc0289d

Fixes: https://codeberg.org/forgejo/forgejo/issues/4686
2024-07-25 15:16:44 +02:00
..
e2e [CHORE] Add playwright eslint plugin 2024-07-22 20:03:32 +02:00
fuzz
gitea-lfs-meta
gitea-repositories-meta Add support for workflow_dispatch (#3334) 2024-06-28 05:17:11 +00:00
integration fix(api): issue state change is not idempotent 2024-07-25 15:16:44 +02:00
testdata/data/attachments/a/0
mysql.ini.tmpl
pgsql.ini.tmpl
sqlite.ini.tmpl
test_utils.go Enable multiStatements for MySQL 2024-07-16 23:16:03 +02:00