1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-01 07:01:39 +02:00
gitea/services
Earl Warren 7bde2bf809
add unit test for user renaming (#26261)
- 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 5b9d34ed115c9ef24012b8027959ea0afdcb4e2d)

Refs: https://codeberg.org/forgejo/forgejo/pulls/1156

Co-authored-by: Gusted <postmaster@gusted.xyz>
2023-08-03 09:38:51 +08:00
..
actions
agit
asymkey
attachment
auth
automerge
context
convert
cron
externalaccount
forms
gitdiff
issue
lfs
mailer
markup
migrations
mirror
org
packages
pull
release
repository
task
user
webhook
wiki