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.
forgejo/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>
12 months ago
..
actions Fix pull request check list is limited (#26179) 12 months ago
agit Add context parameter to some database functions (#26055) 1 year ago
asymkey Add context cache as a request level cache (#22294) 1 year ago
attachment Preserve file size when creating attachments (#23406) 1 year ago
auth Bump github.com/golang-jwt/jwt to v5 (#25975) 1 year ago
automerge Improve queue and logger context (#24924) 1 year ago
context Replace `interface{}` with `any` (#25686) 1 year ago
convert Fix API leaking Usermail if not logged in (#25097) 12 months ago
cron Replace gogs/cron with go-co-op/gocron (#25977) 1 year ago
externalaccount Replace `interface{}` with `any` (#25686) 1 year ago
forms Allow Organisations to have a E-Mail (#25082) 1 year ago
gitdiff Less naked returns (#25713) 1 year ago
issue Add context parameter to some database functions (#26055) 1 year ago
lfs Bump github.com/golang-jwt/jwt to v5 (#25975) 1 year ago
mailer Replace `interface{}` with `any` (#25686) 1 year ago
markup Decouple the different contexts from each other (#24786) 1 year ago
migrations Add context parameter to some database functions (#26055) 1 year ago
mirror Sync branches when mirroring (#25722) 1 year ago
org Refactor rename user and rename organization (#24052) 1 year ago
packages Fix version in rpm repodata/primary.xml.gz (#26009) 1 year ago
pull Fix pull request check list is limited (#26179) 12 months ago
release Less naked returns (#25713) 1 year ago
repository Show branches and tags that contain a commit (#25180) 1 year ago
task Update tool dependencies, lock govulncheck and actionlint (#25655) 1 year ago
user add unit test for user renaming (#26261) 12 months ago
webhook Warn instead of reporting an error when a webhook cannot be found (#26039) 1 year ago
wiki add some Wiki unit tests (#26260) 12 months ago