one more whack-a-mole shot seems to have found the database!!
I still think it's worth talking about.
'sqlite' => [
'driver' => 'sqlite',
'database' => database_path('testing.sqlite'),
// 'database' => database_path('database.sqlite'), // this one was setup prior and did not fix issue
'prefix' => '',
],
// 'sqlite_testing' => [
// 'driver' => 'sqlite',
// 'database' => env('DB_DATABASE', database_path('testing.sqlite')),
// 'prefix' => '',
// ],
I saw a post on laracasts that said use the env('DB_DATABASE env variable. However, in the sqlite above it did not allow the database to be found. That post said you can remove the variable from the env.dusk.local file.
The other issue I may have found on accident, I thought it would be good to use a sqlite_testing connection. However, does the env.dusk.local or phpunit.dusk.xml stop at the first sqlite?
I'm wondering if the suffix of _testing is never read?
If you can share and make sense of all this that would be great.