Strange issue in Symfony4: Doctrine works, I can validate the schema, create the database etc using php bin/console doctrine:schema:create. But my PHPUnit test
php bin/console doctrine:schema:create
You have to put the DATABASE_URL into your phpunit.xml file, e.g. like this:
DATABASE_URL
phpunit.xml