$this->
createTestFixtureFixedDiscountPromotion( $this->ids->
get('promotion'
),
70,
PromotionDiscountEntity::SCOPE_CART,
$this->ids->
get('promotion-code'
),
$this->
getContainer(),
Generator::
createSalesChannelContext($context, null,
$salesChannel) );
} $orderData =
$this->
getOrderData($this->ids->
get('order'
),
$context);
unset($orderData[0
]['orderCustomer'
]);
$orderData[0
]['lineItems'
][] =
[ 'id' =>
$this->ids->
get('line-item'
),
'identifier' => '97838d40733d4ae3ad11f4b09f054176',
'referencedId' =>
$this->ids->
get('promotion-code'
),
'quantity' => 1,
'label' => 'Test',
'payload' =>
[ 'promotionId' =>
$this->ids->
get('promotion'
),
'discountId' => '97838d40733d4ae3ad11f4b09f054176',
'discountType' => 'percentage',