private string
$deepLinkCode;
/**
* @var EntityRepository<CustomerCollection>
*/
private EntityRepository
$customerRepository;
protected function setUp(): void
{ $this->defaultCountryId =
$this->
getValidCountryId(null
);
$validCountries =
$this->
getValidCountries()->
getElements();
$this->browser =
$this->
createCustomSalesChannelBrowser([ 'id' => TestDefaults::SALES_CHANNEL,
'languages' =>
[],
'countryId' =>
$this->defaultCountryId,
'countries' => \
array_map(static fn (CountryEntity
$country) =>
['id' =>
$country->
getId()],
$validCountries),
]);
$this->
assignSalesChannelContext($this->browser
);
$this->contextPersister =
$this->
getContainer()->
get(SalesChannelContextPersister::
class);
$this->orderRepository =
$this->
getContainer()->
get('order.repository'
);