$input =
new StringInput('-b "test"'
);
$output =
new BufferedOutput();
$this->
runCommand($this->generateMediaTypesCommand,
$input,
$output);
} protected function createValidMediaFiles(): void
{ $this->
setFixtureContext($this->context
);
$mediaPng =
$this->
getPng();
$mediaJpg =
$this->
getJpg();
$mediaPdf =
$this->
getPdf();
$this->mediaRepository->
upsert([ [ 'id' =>
$mediaPng->
getId(),
'type' => null,
],
[ 'id' =>
$mediaJpg->
getId(),
'type' => null,
],
[