forgejo_backup/services/user
Gusted 71cf4695c0 chore: QoL improvements to tests (#7917)
- Use mock helper functions, instead of home-brew solutions.
- Disable cron jobs that are not important to be run during integration tests and might even interfere.
- Avoid sleeping unnecessary, if there's some requirement then sleep or retry until that requirement is met.
- Avoid trying to deliver webhooks that will always result in a failure.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7917
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-06-02 14:13:25 +02:00
..
TestPurgeUser Do not rewrite ssh keys files when deleting a user without one (#6097) 2024-12-05 21:32:09 +00:00
avatar.go chore: branding import path (#7337) 2025-06-02 14:13:08 +02:00
avatar_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-06-02 14:13:09 +02:00
block.go chore: branding import path (#7337) 2025-06-02 14:13:08 +02:00
block_test.go chore: branding import path (#7337) 2025-06-02 14:13:08 +02:00
delete.go feat!: Abusive content reporting (#6977) 2025-06-02 14:13:24 +02:00
email.go feat!: Abusive content reporting (#6977) 2025-06-02 14:13:24 +02:00
email_test.go chore: branding import path (#7337) 2025-06-02 14:13:08 +02:00
update.go chore: branding import path (#7337) 2025-06-02 14:13:08 +02:00
update_test.go chore: branding import path (#7337) 2025-06-02 14:13:08 +02:00
user.go chore: branding import path (#7337) 2025-06-02 14:13:08 +02:00
user_test.go chore: QoL improvements to tests (#7917) 2025-06-02 14:13:25 +02:00