Fixed UI crash when updating avatar

This commit is contained in:
Agate 2020-04-22 10:22:19 +02:00
parent 35e2cb243c
commit 27f40e6023
No known key found for this signature in database
GPG key ID: 6B501DFD73514E14
2 changed files with 8 additions and 0 deletions

View file

@ -319,6 +319,7 @@ def test_user_can_patch_their_own_avatar(logged_in_api_client, factories):
user.refresh_from_db()
assert user.actor.attachment_icon == attachment
assert "avatar" in response.data
def test_creating_user_creates_actor_as_well(