diff --git a/symfony.lock b/symfony.lock index 031b23fc..b975106c 100644 --- a/symfony.lock +++ b/symfony.lock @@ -314,12 +314,12 @@ "repo": "github.com/symfony/recipes", "branch": "main", "version": "9.6", - "ref": "7364a21d87e658eb363c5020c072ecfdc12e2326" + "ref": "6a9341aa97d441627f8bd424ae85dc04c944f8b4" }, "files": [ - "./.env.test", - "./phpunit.xml.dist", - "./tests/bootstrap.php" + ".env.test", + "phpunit.xml.dist", + "tests/bootstrap.php" ] }, "psr/cache": { diff --git a/tests/bootstrap.php b/tests/bootstrap.php index ecec14bf..fa3d3e7c 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -4,9 +4,8 @@ declare(strict_types=1); use Symfony\Component\Dotenv\Dotenv; require dirname(__DIR__).'/vendor/autoload.php'; -if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) { - require dirname(__DIR__).'/config/bootstrap.php'; -} elseif (method_exists(Dotenv::class, 'bootEnv')) { + +if (method_exists(Dotenv::class, 'bootEnv')) { (new Dotenv())->bootEnv(dirname(__DIR__).'/.env'); } if ($_SERVER['APP_DEBUG']) {