'id' =>
$mediaJpg->
getId(),
'type' => null,
],
[ 'id' =>
$mediaPdf->
getId(),
'type' => null,
],
],
$this->context
);
$filePath =
$this->urlGenerator->
getRelativeMediaUrl($mediaPng);
$this->
getPublicFilesystem()->
writeStream( $filePath,
fopen(__DIR__ . '/../fixtures/shopware-logo.png', 'rb'
) );
$filePath =
$this->urlGenerator->
getRelativeMediaUrl($mediaJpg);
$this->
getPublicFilesystem()->
writeStream( $filePath,
fopen(__DIR__ . '/../fixtures/shopware.jpg', 'rb'
) );
$filePath =
$this->urlGenerator->
getRelativeMediaUrl($mediaPdf);