static::
assertEquals($basePath . '/Resources/app/storefront/dist/assets/preview.jpg',
$config->
getPreviewMedia());
static::
assertEquals([ 'fields' =>
[ 'sw-image' =>
[ 'type' => 'media',
'value' => 'app/storefront/dist/assets/test.jpg',
],
],
],
$config->
getThemeConfig());
static::
assertEquals([ 'custom-icons' => 'app/storefront/src/assets/icon-pack/custom-icons',
],
$config->
getIconSets());
} public function testPluginHasSingleScssEntryPoint(): void
{ /** @var string $basePath */
$basePath =
realpath(__DIR__ . '/../fixtures/SimplePlugin'
);
$bundle =
$this->
getBundle('SimplePlugin',
$basePath);
$basePath =
$this->
stripProjectDir($basePath);
$config =
$this->configFactory->
createFromBundle($bundle);