Skip to content

Commit

Permalink
chore: update shopware/platform package
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim authored and github-actions[bot] committed Nov 29, 2023
1 parent bf9d9a2 commit 86c45e7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion shopware/platform/6.6/bin/ci
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ return static function (array &$context) {
$context['INSTALL'] = true;
}

$_SERVER['DATABASE_URL'] = 'mysql://_placeholder.test';
if (trim($context['DATABASE_URL'] ?? '') === '') {
// fake DATABASE_URL
$_SERVER['DATABASE_URL'] = 'mysql://_placeholder.test';
}

$kernel = new HttpKernel($env, $debug, $classLoader);
$kernel->setPluginLoader($pluginLoader);
Expand Down

0 comments on commit 86c45e7

Please sign in to comment.