private string
$customerId;
protected function setUp(): void
{ $this->cartService =
$this->
getContainer()->
get(CartService::
class);
$this->productRepository =
$this->
getContainer()->
get('product.repository'
);
$this->orderRepository =
$this->
getContainer()->
get('order.repository'
);
$this->orderTransactionRepository =
$this->
getContainer()->
get('order_transaction.repository'
);
$this->flowRepository =
$this->
getContainer()->
get('flow.repository'
);
$this->customerId =
$this->
createCustomer();
$this->salesChannelContext =
$this->
createDefaultSalesChannelContext();
$this->orderTransactionStateHandler =
$this->
getContainer()->
get(OrderTransactionStateHandler::
class);
$this->eventDispatcher =
$this->
getContainer()->
get('event_dispatcher'
);
$this->downloadRoute =
$this->
getContainer()->
get(DownloadRoute::
class);
$this->fileSaver =
$this->
getContainer()->
get(FileSaver::
class);
$this->fileFetcher =
$this->
getContainer()->
get(FileFetcher::
class);
} /**
* @param array<int, string[]> $productDownloads
*
* @dataProvider orderCaseProvider
*/