$this->browser =
$this->
createCustomSalesChannelBrowser([ 'id' => TestDefaults::SALES_CHANNEL,
'languages' =>
[],
]);
} public function testLoad(): void
{ $productId = Uuid::
randomHex();
$productData =
$this->
getProductData($productId);
$productData['crossSellings'
] =
[[ 'name' => 'Test Cross Selling',
'sortBy' => ProductCrossSellingDefinition::SORT_BY_PRICE,
'sortDirection' => FieldSorting::ASCENDING,
'active' => true,
'limit' => 3,
'productStreamId' =>
$this->
createProductStream(),
]];
$this->productRepository->
create([$productData],
$this->salesChannelContext->
getContext());