Event settings API: Fix setting confirm_texts

This commit is contained in:
Raphael Michel
2021-09-15 16:28:57 +02:00
parent 002469d523
commit 42a1fe9bd1
3 changed files with 15 additions and 2 deletions

View File

@@ -1212,7 +1212,12 @@ def test_patch_event_settings(token_client, organizer, event):
resp = token_client.patch(
'/api/v1/organizers/{}/events/{}/settings/'.format(organizer.slug, event.slug),
{
'imprint_url': 'https://example.com'
'imprint_url': 'https://example.com',
'confirm_texts': [
{
'de': 'Ich bin mit den AGB einverstanden.'
}
]
},
format='json'
)