Fix test case for previous commit

This commit is contained in:
Raphael Michel
2018-10-12 11:44:46 +02:00
parent ddefeeaf02
commit 6e4750336b

View File

@@ -182,5 +182,4 @@ class WaitingListTestCase(TestCase):
event=self.event, item=self.item2, variation=self.var1, email='foo{}@bar.com'.format(i)
)
process_waitinglist(None)
assert WaitingListEntry.objects.filter(voucher__isnull=True).count() == 5
assert Voucher.objects.count() == 0
assert Voucher.objects.count() == 5