public function itGivesFixedDiscountToEveryOrderWithItemsTotalAtLeast(PromotionInterface $promotion, $discount, $targetAmount) { $channelCode = $this->sharedStorage->get('channel')->getCode(); $rule = $this->ruleFactory->createItemTotal($channelCode, $targetAmount); $this->createFixedPromotion($promotion, $discount, [], $rule); }