'--admin-es-index-prefix' => 'shopware-admin',
'--admin-es-enabled' => '1',
'--admin-es-refresh-indices' => '1',
'--http-cache-enabled' => '1',
'--http-cache-ttl' => '7200',
'--cdn-strategy' => 'id',
'--blue-green' => '1',
'--mailer-url' => 'smtp://localhost:25',
'--composer-home' => __DIR__,
];
$tester =
$this->
getCommandTester();
$tester->
execute($args,
['interactive' => false
]);
$tester->
assertCommandIsSuccessful();
static::
assertFileExists(__DIR__ . '/.env'
);
static::
assertFileDoesNotExist(__DIR__ . '/.env.local.php'
);
$envContent =
file_get_contents(__DIR__ . '/.env'
);
static::
assertIsString($envContent);
$env =
(new Dotenv())->
parse($envContent);