forked from CGM_Public/pretix_original
Fix failing test case
This commit is contained in:
@@ -510,8 +510,9 @@ def _create_order(event: Event, email: str, positions: List[CartPosition], now_d
|
|||||||
|
|
||||||
OrderPosition.transform_cart_positions(positions, order)
|
OrderPosition.transform_cart_positions(positions, order)
|
||||||
order.log_action('pretix.event.order.placed')
|
order.log_action('pretix.event.order.placed')
|
||||||
for msg in meta_info.get('confirm_messages', []):
|
if meta_info:
|
||||||
order.log_action('pretix.event.order.consent', data={'msg': msg})
|
for msg in meta_info.get('confirm_messages', []):
|
||||||
|
order.log_action('pretix.event.order.consent', data={'msg': msg})
|
||||||
|
|
||||||
order_placed.send(event, order=order)
|
order_placed.send(event, order=order)
|
||||||
return order
|
return order
|
||||||
|
|||||||
Reference in New Issue
Block a user