static::
assertEquals(ThemeFixtures::
getThemeStructuredFields(),
$theme);
} public function testChildThemeConfigStructuredFields(): void
{ $criteria =
new Criteria();
$criteria->
addFilter(new EqualsFilter('technicalName', StorefrontPluginRegistry::BASE_THEME_NAME
));
/** @var ThemeEntity $baseTheme */
$baseTheme =
$this->themeRepository->
search($criteria,
$this->context
)->
first();
$name =
$this->
createTheme( $baseTheme,
[ 'fields' =>
[ 'some-custom' =>
[ 'editable' => false,
'section' => 'mainSection',
'tab' => 'mainTab',
],
],
'sections' =>
[ 'mainSection' =>
[