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
|
||
|---|---|---|
| .. | ||
| avatar.go | ||
| avatar_test.go | ||
| block.go | ||
| block_test.go | ||
| delete.go | ||
| email.go | ||
| email_test.go | ||
| update.go | ||
| update_test.go | ||
| user.go | ||
| user_test.go | ||