mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Vouchers: fix code min-length check on bulk creation
This commit is contained in:
committed by
GitHub
parent
ca23073760
commit
ca79436e36
@@ -477,6 +477,10 @@ class VoucherFormTest(SoupTestMixin, TransactionTestCase):
|
||||
self._create_bulk_vouchers({
|
||||
'codes': 'ABCDE\nDEFGH\nIJKLM\nNOPQR\nSTUVW\nXYZ',
|
||||
'itemvar': '%d' % self.ticket.pk,
|
||||
}, expected_failure=True)
|
||||
self._create_bulk_vouchers({
|
||||
'codes': 'ABCDE\nDEFGH\nIJKLM\nNOPQR\nSTUVW',
|
||||
'itemvar': '%d' % self.ticket.pk,
|
||||
})
|
||||
|
||||
def test_create_blocking_bulk_quota_full(self):
|
||||
|
||||
Reference in New Issue
Block a user