diff --git a/composer.json b/composer.json index 188c2547..eb69683d 100644 --- a/composer.json +++ b/composer.json @@ -8,6 +8,7 @@ "laravel/framework": "5.1.*" }, "require-dev": { + "fzaninotto/faker": "~1.4", "mockery/mockery": "0.9.*", "phpunit/phpunit": "~4.0", "phpspec/phpspec": "~2.1" diff --git a/config/database.php b/config/database.php index 846e426c..ea57ddca 100644 --- a/config/database.php +++ b/config/database.php @@ -26,7 +26,7 @@ return [ | */ - 'default' => 'mysql', + 'default' => env('DB_CONNECTION','mysql'), /* |--------------------------------------------------------------------------