Setting up an in memory SQLite database for testing in Laravel 5.4 Setting up an in memory SQLite database for testing in Laravel 5.4 sqlite sqlite

Setting up an in memory SQLite database for testing in Laravel 5.4


It's because your config is cached.

Clear your config cache with php artisan config:clear

Now phpunit will read the xml file.

Never cache your config in dev environment ;)