mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Backend UX: Restructure payment settings
This commit is contained in:
@@ -27,6 +27,7 @@ def env(client):
|
||||
@pytest.mark.django_db
|
||||
def test_settings(env):
|
||||
client, event = env
|
||||
response = client.get('/control/event/%s/%s/settings/payment' % (event.organizer.slug, event.slug), follow=True)
|
||||
response = client.get('/control/event/%s/%s/settings/payment/paypal' % (event.organizer.slug, event.slug),
|
||||
follow=True)
|
||||
assert response.status_code == 200
|
||||
assert 'paypal__enabled' in response.rendered_content
|
||||
|
||||
Reference in New Issue
Block a user