forgejo/services
Gusted 5b9d34ed11
[TESTS] Add unit test for user renaming
- The user renaming function has zero test coverage.
- This patch brings that up to speed to test for various scenarios and
ensure that in a normal workflow the correct things has changed to their
respective new value. Most scenarios are to ensure certain things DO NOT happen.

(cherry picked from commit ec5901fcd0)
2023-08-01 09:29:46 +02:00
..
actions Fix pull request check list is limited () 2023-07-31 02:21:09 +00:00
agit
asymkey
attachment
auth [TESTS] oauth2: make it possible to use an alternate http.Client 2023-08-01 09:26:58 +02:00
automerge
context
convert Fix API leaking Usermail if not logged in () 2023-07-31 01:18:38 +00:00
cron
externalaccount
forms
gitdiff
issue
lfs
mailer
markup
migrations
mirror
org
packages
pull Fix pull request check list is limited () 2023-07-31 02:21:09 +00:00
release
repository
task
user [TESTS] Add unit test for user renaming 2023-08-01 09:29:46 +02:00
webhook
wiki [TESTS] Add some Wiki unit tests 2023-08-01 09:29:46 +02:00