use IntegrationTestBehaviour;
private Context
$context;
protected function setUp(): void
{ $this->context = Context::
createDefaultContext();
} public function testValidate(): void
{ $this->
createProductStream();
$url = '/api/_action/product-export/validate';
$content =
json_encode([ 'salesChannelId' =>
$this->
getSalesChannelDomain()->
getSalesChannelId(),
'salesChannelDomainId' =>
$this->
getSalesChannelDomainId(),
'productStreamId' => '137b079935714281ba80b40f83f8d7eb',
'headerTemplate' => '',
'bodyTemplate' => '{{ product.name }}',
'footerTemplate' => '',
'includeVariants' => false,