Adding faker_locale default config value.
As per [that PR](https://github.com/laravel/framework/pull/17895) and [the documentation](https://laravel.com/docs/5.6/database-testing#writing-factories), I wanted to make sure this was present in the `app/config.php` out of the box. It's a great thing and I'm sure people will be happy to use it rather than overriding the singleton registration.
This commit is contained in:
parent
6735b84ccc
commit
e9f6ec36a7
|
@ -92,6 +92,19 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'fallback_locale' => 'en',
|
'fallback_locale' => 'en',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Faker Locale Configuration
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The locale set here will be used by the Faker PHP library when it will
|
||||||
|
| generate localized random data for testing such as a postal address
|
||||||
|
| or a telephone number. This is the default locale we are setting.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'faker_locale' => 'en_US',
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue