Fixed tests that did not set a default_price on items

This commit is contained in:
Raphael Michel
2015-07-26 17:07:31 +02:00
parent a0e8e06743
commit 36430f3b9a
3 changed files with 11 additions and 11 deletions

View File

@@ -222,8 +222,8 @@ class QuotaTest(ItemFormTest):
def test_update(self):
c = Quota.objects.create(event=self.event1, name="Full house", size=500)
item1 = Item.objects.create(event=self.event1, name="Standard")
item2 = Item.objects.create(event=self.event1, name="Business")
item1 = Item.objects.create(event=self.event1, name="Standard", default_price=0)
item2 = Item.objects.create(event=self.event1, name="Business", default_price=0)
prop1 = Property.objects.create(event=self.event1, name="Level")
item2.properties.add(prop1)
PropertyValue.objects.create(prop=prop1, value="Silver")