Reuse parse_itemvar from VoucherForm

This commit is contained in:
Mira Weller
2026-05-27 20:27:17 +02:00
parent 20da00d4fb
commit 19306ce798
2 changed files with 37 additions and 60 deletions
+1
View File
@@ -796,6 +796,7 @@ class VoucherBulkEditFormTest(SoupTestMixin, TransactionTestCase):
self.shirt_blue = ItemVariation.objects.create(item=self.shirt, value='Blue')
self.quota_shirts.variations.add(self.shirt_red)
self.quota_shirts.variations.add(self.shirt_blue)
self.quota_tickets = Quota.objects.create(event=self.event, name='Tickets', size=2)
self.ticket = Item.objects.create(event=self.event, name='Early-bird ticket',
default_price=23)