Laravel: Can't pass a Browser test using RefreshDatabase trait
I don't think that the problem is using sqlite/pgsql/whateversql driver.And I sure you don't need to put something like $app['config']...
lines to \Tests\CreatesApplication::createApplication
.
I solved this problem running artisan config:clear
before artisan serve
.It will make new phpunit.dusk.xml which will route to .env.dusk.{env}
, and then rerun dusk command.