$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,
'encoding' => 'UTF-8',
'fileFormat' => 'CSV',
'fileName' => 'test.csv',
'accessKey' => 'test',
'currencyId' => Defaults::CURRENCY,
],