Add the Behat recipe

This commit is contained in:
Samuel ROZE
2017-06-05 19:14:00 +01:00
parent 5eacde060f
commit d31e56a20a
6 changed files with 80 additions and 0 deletions
@@ -0,0 +1,10 @@
<?php
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');
}