Skip to content

Commit

Permalink
Merge pull request #29250 from laravel/revert-29123-5.8
Browse files Browse the repository at this point in the history
[5.8] Revert "[5.8] WithFaker use local faker config"
  • Loading branch information
taylorotwell committed Jul 21, 2019
2 parents 5140a0b + f1a7255 commit 06c4b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Testing/WithFaker.php
Expand Up @@ -42,6 +42,6 @@ protected function faker($locale = null)
*/
protected function makeFaker($locale = null)
{
return Factory::create($locale ?? config('app.faker_locale') ?? Factory::DEFAULT_LOCALE);
return Factory::create($locale ?? Factory::DEFAULT_LOCALE);
}
}

0 comments on commit 06c4b75

Please sign in to comment.