Explicit position ordering in invoice tests

This commit is contained in:
Raphael Michel
2017-03-19 15:04:21 +01:00
parent 11ce4c2078
commit 259c0cca69
2 changed files with 3 additions and 1 deletions

View File

@@ -41,12 +41,14 @@ def env():
item=ticket,
variation=None,
price=Decimal("23.00"),
positionid=1,
)
OrderPosition.objects.create(
order=o,
item=t_shirt,
variation=variation,
price=Decimal("42.00"),
positionid=2,
)
return event, o