mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
Fix bootstrapping of ci: step unit_test
This commit is contained in:
@@ -4,8 +4,8 @@ use Symfony\Component\Dotenv\Dotenv;
|
||||
|
||||
require dirname(__DIR__).'/vendor/autoload.php';
|
||||
|
||||
if (file_exists(dirname(__DIR__).'/app/config/bootstrap.php')) {
|
||||
require dirname(__DIR__).'/app/config/bootstrap.php';
|
||||
if (file_exists(dirname(__DIR__).'/tests/app/config/bootstrap.php')) {
|
||||
require dirname(__DIR__).'/tests/app/config/bootstrap.php';
|
||||
} elseif (method_exists(Dotenv::class, 'bootEnv')) {
|
||||
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
|
||||
}
|
||||
|
Reference in New Issue
Block a user