API: Fix storage of Item.picture

This commit is contained in:
Raphael Michel
2021-09-06 19:56:57 +02:00
parent d1b66e365a
commit 677142d0c9
3 changed files with 85 additions and 2 deletions

View File

@@ -1396,6 +1396,7 @@ def test_patch_event_settings_file(token_client, organizer, event):
)
assert resp.status_code == 200
assert resp.data['logo_image'].startswith('http')
assert '/pub/' in resp.data['logo_image']
resp = token_client.patch(
'/api/v1/organizers/{}/events/{}/settings/'.format(organizer.slug, event.slug),