'group' =>
[ 'id' =>
$colorGroupId,
'name' => 'Color',
],
],
],
],
'visibilities' =>
[[ 'salesChannelId' =>
$context->
getSalesChannelId(),
'visibility' => ProductVisibilityDefinition::VISIBILITY_ALL,
]],
'tax' =>
['id' =>
$context->
getTaxRules()->
first()->
getId(), 'name' => 'test', 'taxRate' => 15
],
'cmsPage' =>
[ 'id' =>
$expectedCmsPageId,
'type' => 'product_detail',
'sections' =>
[],
],
]);
$childProduct =
$this->
createData([ 'id' => Uuid::
randomHex(),
'productNumber' => Uuid::
randomHex(),
'tax' =>
['id' =>
$context->
getTaxRules()->
first()->
getId(), 'name' => 'test', 'taxRate' => 15
],