You could probably just do like Config::set('database.default', 'mysql');
in that/those test(s).
Just a note for anybody else who wants to use this method, this is how I setup the test:
if (Config::get('database.default') == 'sqlite')
{
Config::set('database.default', 'mysql');
Artisan::call('migrate:refresh');
}
Works great, thanks!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community