Hey,
solved it myself. Somehow on travis --env=travis on artisan serve has no affect.
Adding 'testing' => ['testing-worker-linux*'] to bootstrap/start.php results in correct environment detection and all configs are loaded from the correct environment.
Tests are now passing.
Thanks anyway.
Do you mind explaining this solution more? I am currently looking to do the same thing. Also looking to use a test database with my CI.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community