You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
11 months ago
..
avatar.go Refactor rename user and rename organization (#24052) 1 year ago
delete.go Move delete user to service (#22478) 1 year ago
user.go fix incorrect repo url when changed the case of ownername (#25733) 12 months ago
user_test.go add unit test for user renaming (#26261) 11 months ago