forked from CGM_Public/pretix_original
Adjust test for ea514948b
This commit is contained in:
@@ -285,6 +285,15 @@ def test_org_order_list(env, client):
|
||||
})
|
||||
assert r.status_code == 302
|
||||
|
||||
r = client.get(f'/bigevents/account/')
|
||||
assert r.status_code == 200
|
||||
content = r.content.decode()
|
||||
assert o1.code not in content
|
||||
assert o2.code not in content
|
||||
assert o3.code in content
|
||||
|
||||
env[0].settings.customer_accounts_link_by_email = True
|
||||
|
||||
r = client.get(f'/bigevents/account/')
|
||||
assert r.status_code == 200
|
||||
content = r.content.decode()
|
||||
|
||||
Reference in New Issue
Block a user