Remove the require on autoload, as it's already loaded by Behat before

This commit is contained in:
Samuel ROZE
2017-06-22 10:09:39 +01:00
parent 7d28af71d8
commit 36565deb4e
@@ -2,8 +2,6 @@
use Symfony\Component\Dotenv\Dotenv;
require __DIR__.'/../../vendor/autoload.php';
// The check is to ensure we don't use .env in production
if (!getenv('APP_ENV')) {
(new Dotenv())->load(__DIR__.'/../../.env');