forgejo/services/user
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
..
avatar.go Refactor rename user and rename organization (#24052) 2023-05-21 23:13:47 +08:00
delete.go Move delete user to service (#22478) 2023-02-13 13:11:41 +08:00
user.go fix incorrect repo url when changed the case of ownername (#25733) 2023-07-14 13:42:10 +08:00
user_test.go [TESTS] Add unit test for user renaming 2023-08-01 09:29:46 +02:00