gitea/tests
Lunny Xiao e30a130b9a
Fix edit user email bug in API (#36068)
Follow #36058 for API edit user bug when editing email.

- The Admin Edit User API includes a breaking change. Previously, when
updating a user with an email from an unallowed domain, the request
would succeed but return a warning in the response headers. Now, the
request will fail and return an error in the response body instead.
- Removed `AdminAddOrSetPrimaryEmailAddress` because it will not be used
any where.

Fix https://github.com/go-gitea/gitea/pull/36058#issuecomment-3600005186

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2025-12-04 09:05:13 +07:00
..
e2e Fix actions lint (#36029) 2025-11-26 10:13:37 +07:00
fuzz Fix fuzz test (#33156) 2025-01-09 15:15:47 +07:00
gitea-lfs-meta
gitea-repositories-meta Fix corrupted external render content (#35946) 2025-11-14 08:31:11 +07:00
integration Fix edit user email bug in API (#36068) 2025-12-04 09:05:13 +07:00
testdata/data Add artifacts test fixture (#30300) 2024-11-01 10:29:54 +07:00
mssql.ini.tmpl Fix LFS URL (#33840) 2025-03-10 17:36:02 +07:00
mysql.ini.tmpl Fix LFS URL (#33840) 2025-03-10 17:36:02 +07:00
pgsql.ini.tmpl Fix LFS URL (#33840) 2025-03-10 17:36:02 +07:00
sqlite.ini.tmpl Fix corrupted external render content (#35946) 2025-11-14 08:31:11 +07:00
test_utils.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00