dont you have a phpunit.xml file in the root folder? specify it there..
<env name="APP_ENV" value="testing"/>
I have this value in php unit. By now I found another approach - to create another db connection setting in 'database.php'. (As stated in this instruction https://github.com/janhenkgerritsen/codeception-laravel5-sample) E.g. 'mysql_testing' with hardcoded values of db settings. And then use 'php artisan migrate --database=mysql_testing'. The question for me is whether this is a Laravel bug that should be reported.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community