1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-05 14:59:05 -05:00
Commit graph

1 commit

Author SHA1 Message Date
Earl Warren
3ba58114c7 test(avatar): deleting a user avatar and file is atomic
The avatar must not be unset in the database if there is a failure to
remove the avatar file from storage (file or S3). The two operations
are wrapped in a transaction for that purpose and this test verifies
it is effective.

See 1be797faba Fix bug on avatar

(cherry picked from commit c139efb1e9)
2024-06-04 22:39:38 +00:00