use IntegrationTestBehaviour;
public function testConfigIsAddedIfItsATheme(): void
{ $this->
loadAppsFromDir(__DIR__ . '/fixtures/Apps/theme'
);
$registry =
$this->
getContainer() ->
get(StorefrontPluginRegistry::
class);
static::
assertInstanceOf( StorefrontPluginConfiguration::
class,
$registry->
getConfigurations()->
getByTechnicalName('SwagTheme'
) );
} public function testConfigIsNotAddedIfAppIsNotActive(): void
{ $this->
loadAppsFromDir(__DIR__ . '/fixtures/Apps/theme', false
);
$registry =
$this->
getContainer() ->
get(StorefrontPluginRegistry::
class);
static::
assertNull(