gitea/tests
Bo-Yi Wu 11ee7ff3bf
fix: return 201 Created for CreateVariable API responses (#34517)
- Change CreateVariable API response status from 204 No Content to 201
Created
- Update related integration tests to expect 201 Created instead of 204
No Content

## ⚠️ BREAKING ⚠️

Change the response status code of the Create Variable API under both
Org and Repo levels to `201` instead of 204.

API SDK: https://gitea.com/gitea/go-sdk/pulls/713

---------

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Signed-off-by: appleboy <appleboy.tw@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
2025-05-26 12:12:49 -04:00
..
e2e Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
fuzz Fix fuzz test (#33156) 2025-01-09 15:15:47 +08:00
gitea-lfs-meta
gitea-repositories-meta Support choose email when creating a commit via web UI (more) (#33445) 2025-01-31 02:36:18 +00:00
integration fix: return 201 Created for CreateVariable API responses (#34517) 2025-05-26 12:12:49 -04:00
testdata/data Add artifacts test fixture (#30300) 2024-11-01 10:29:54 +08:00
mssql.ini.tmpl Fix LFS URL (#33840) 2025-03-10 17:36:02 +08:00
mysql.ini.tmpl Fix LFS URL (#33840) 2025-03-10 17:36:02 +08:00
pgsql.ini.tmpl Fix LFS URL (#33840) 2025-03-10 17:36:02 +08:00
sqlite.ini.tmpl Fix LFS URL (#33840) 2025-03-10 17:36:02 +08:00
test_utils.go Uniform all temporary directories and allow customizing temp path (#32352) 2025-04-08 16:15:28 +00:00