diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 9da33953..f009cb93 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -5,13 +5,14 @@ xsi:noNamespaceSchemaLocation="bin/.phpunit/phpunit.xsd" backupGlobals="false" colors="true" - bootstrap="config/bootstrap.php" + bootstrap="tests/bootstrap.php" > + @@ -21,8 +22,8 @@ - - src + + src @@ -32,6 +33,5 @@ - diff --git a/symfony.lock b/symfony.lock index 83b9ae42..2b9a3498 100644 --- a/symfony.lock +++ b/symfony.lock @@ -637,14 +637,13 @@ "repo": "github.com/symfony/recipes", "branch": "master", "version": "4.3", - "ref": "170be6250b77b421f02e986e2853df86c7bd6516" + "ref": "6d0e35f749d5f4bfe1f011762875275cd3f9874f" }, "files": [ "./.env.test", "./bin/phpunit", - "./config/bootstrap.php", "./phpunit.xml.dist", - "./tests/.gitignore" + "./tests/bootstrap.php" ] }, "symfony/polyfill-ctype": { diff --git a/tests/bootstrap.php b/tests/bootstrap.php new file mode 100644 index 00000000..469dccee --- /dev/null +++ b/tests/bootstrap.php @@ -0,0 +1,11 @@ +bootEnv(dirname(__DIR__).'/.env'); +}