class InstallerKernelTest extends TestCase
{ use EnvTestBehaviour;
public function testItCorrectlyConfiguresTheContainer(): void
{ $this->
setEnvVars(['COMPOSER_HOME' => null
]);
$kernel =
new InstallerKernel('test', false
);
$kernel->
boot();
static::
assertTrue($kernel->
getContainer()->
hasParameter('kernel.shopware_version'
));
// the default revision changes per commit, if it is set we expect that it is correct
static::
assertTrue($kernel->
getContainer()->
hasParameter('kernel.shopware_version_revision'
));
static::
assertEquals( [ 'FrameworkBundle' => FrameworkBundle::
class,