Add Item.issue_giftcard

This commit is contained in:
Raphael Michel
2019-09-18 21:25:22 +02:00
parent b07d9d167d
commit 8c50b7409f
7 changed files with 56 additions and 1 deletions

View File

@@ -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,