protected function setUp(): void
{ if (!
$this->
getContainer()->
has(ProductPageSeoUrlRoute::
class)) { static::
markTestSkipped('NEXT-16799: Sitemap module has a dependency on storefront routes'
);
} parent::
setUp();
$this->categorySalesChannelRepository =
$this->
getContainer()->
get('sales_channel.category.repository'
);
$this->seoUrlSalesChannelRepository =
$this->
getContainer()->
get('sales_channel.seo_url.repository'
);
$navigationCategoryId =
$this->
createRootCategoryData();
$this->salesChannelContext =
$this->
createStorefrontSalesChannelContext( Uuid::
randomHex(),
'test-category-sitemap',
Defaults::LANGUAGE_SYSTEM,
[],
$navigationCategoryId );
$this->
createCategoryTree($navigationCategoryId);
}