Level 88
It depends on your setup, but if you use phpunit you can set the environment variables in the phpunit.xml file.
For Behat you can create an .env.behat file: https://laracasts.com/lessons/laravel-5-and-behat-bffs
Hello,
Where can I set in Laravel the connection for the test database and one for the production database? In the .env file there is only one option.
And how can I code that Laravel know which one is set?
Thank you for help!
Please or to participate in this conversation.