forgejo/tests
JakobDev da7e85c819 fix: Allow Organisations to remove the Email Address (#5517)
It is possible to set a Email for a Organization. This Email is optional and only used to be displayed on the profile page. However, once you set an EMail, you can no longer remove it. This PR fixes that.

While working on the tests, I found out, that the API returns a 500 when trying to set an invalid EMail. I fixed that too. It returns a 422 now.

Fixes #4567

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5517
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: JakobDev <jakobdev@gmx.de>
Co-committed-by: JakobDev <jakobdev@gmx.de>
(cherry picked from commit 45fa9e5ae9)
2024-11-20 12:32:36 +00:00
..
e2e fix: typo on releases for source code downloads 2024-10-22 14:03:42 +00:00
fuzz
gitea-lfs-meta
gitea-repositories-meta Fix agit automerge (#31207) 2024-08-25 10:47:37 +02:00
integration fix: Allow Organisations to remove the Email Address (#5517) 2024-11-20 12:32:36 +00:00
testdata/data/attachments/a/0
mysql.ini.tmpl
pgsql.ini.tmpl
sqlite.ini.tmpl
test_utils.go [TESTS] Move CreateDeclarativeRepo to more accessible location 2024-08-25 02:54:43 +02:00