mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Explicit position ordering in invoice tests
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user