mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Add Item.issue_giftcard
This commit is contained in:
@@ -223,6 +223,7 @@ TEST_ITEM_RES = {
|
||||
"tax_rate": "0.00",
|
||||
"tax_rule": None,
|
||||
"admission": False,
|
||||
"issue_giftcard": False,
|
||||
"position": 0,
|
||||
"generate_tickets": None,
|
||||
"allow_waitinglist": True,
|
||||
@@ -391,6 +392,7 @@ def test_item_create(token_client, organizer, event, item, category, taxrule):
|
||||
"tax_rate": "19.00",
|
||||
"tax_rule": taxrule.pk,
|
||||
"admission": True,
|
||||
"issue_giftcard": False,
|
||||
"position": 0,
|
||||
"picture": None,
|
||||
"available_from": None,
|
||||
@@ -426,6 +428,7 @@ def test_item_create_with_variation(token_client, organizer, event, item, catego
|
||||
"tax_rate": "19.00",
|
||||
"tax_rule": taxrule.pk,
|
||||
"admission": True,
|
||||
"issue_giftcard": True,
|
||||
"position": 0,
|
||||
"picture": None,
|
||||
"available_from": None,
|
||||
@@ -476,6 +479,7 @@ def test_item_create_with_addon(token_client, organizer, event, item, category,
|
||||
"tax_rate": "19.00",
|
||||
"tax_rule": taxrule.pk,
|
||||
"admission": True,
|
||||
"issue_giftcard": True,
|
||||
"position": 0,
|
||||
"picture": None,
|
||||
"available_from": None,
|
||||
@@ -520,6 +524,7 @@ def test_item_create_with_addon(token_client, organizer, event, item, category,
|
||||
"tax_rate": "19.00",
|
||||
"tax_rule": taxrule.pk,
|
||||
"admission": True,
|
||||
"issue_giftcard": True,
|
||||
"position": 0,
|
||||
"picture": None,
|
||||
"available_from": None,
|
||||
@@ -562,6 +567,7 @@ def test_item_create_with_addon(token_client, organizer, event, item, category,
|
||||
"tax_rate": "19.00",
|
||||
"tax_rule": taxrule.pk,
|
||||
"admission": True,
|
||||
"issue_giftcard": True,
|
||||
"position": 0,
|
||||
"picture": None,
|
||||
"available_from": None,
|
||||
@@ -604,6 +610,7 @@ def test_item_create_with_addon(token_client, organizer, event, item, category,
|
||||
"tax_rate": "19.00",
|
||||
"tax_rule": taxrule.pk,
|
||||
"admission": True,
|
||||
"issue_giftcard": True,
|
||||
"position": 0,
|
||||
"picture": None,
|
||||
"available_from": None,
|
||||
@@ -654,6 +661,7 @@ def test_item_create_with_bundle(token_client, organizer, event, item, category,
|
||||
"tax_rate": "19.00",
|
||||
"tax_rule": taxrule.pk,
|
||||
"admission": True,
|
||||
"issue_giftcard": True,
|
||||
"position": 0,
|
||||
"picture": None,
|
||||
"available_from": None,
|
||||
@@ -699,6 +707,7 @@ def test_item_create_with_bundle(token_client, organizer, event, item, category,
|
||||
"tax_rate": "19.00",
|
||||
"tax_rule": taxrule.pk,
|
||||
"admission": True,
|
||||
"issue_giftcard": True,
|
||||
"position": 0,
|
||||
"picture": None,
|
||||
"available_from": None,
|
||||
|
||||
Reference in New Issue
Block a user