/**
* @var EntityRepository<CurrencyCollection>
*/
private EntityRepository
$currencyRepository;
private AccountService
$accountService;
private SalesChannelContext
$salesChannelContext;
protected function setUp(): void
{ $this->ids =
new TestDataCollection();
$this->currencyRepository =
$this->
getContainer()->
get('currency.repository'
);
$this->
createTestSalesChannel();
$this->accountService =
$this->
getContainer()->
get(AccountService::
class);
/** @var AbstractSalesChannelContextFactory $salesChannelContextFactory */
$salesChannelContextFactory =
$this->
getContainer()->
get(SalesChannelContextFactory::
class);
$this->salesChannelContext =
$salesChannelContextFactory->
create(Uuid::
randomHex(), TestDefaults::SALES_CHANNEL
);
} /**
* @dataProvider loginRequiredAnnotationData
*/