Lock seeder to english

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-01-12 13:10:29 -08:00
parent df0da0f3bc
commit ba5b835933
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ class SettingFactory extends Factory
'alerts_enabled' => true, 'alerts_enabled' => true,
'brand' => 1, 'brand' => 1,
'default_currency' => $this->faker->currencyCode, 'default_currency' => $this->faker->currencyCode,
'locale' => $this->faker->locale, 'locale' => 'en',
'pwd_secure_min' => 10, // Match web setup 'pwd_secure_min' => 10, // Match web setup
'email_domain' => 'test.com', 'email_domain' => 'test.com',
]; ];

View file

@ -26,7 +26,7 @@ class UserFactory extends Factory
'first_name' => $this->faker->firstName(), 'first_name' => $this->faker->firstName(),
'jobtitle' => $this->faker->jobTitle(), 'jobtitle' => $this->faker->jobTitle(),
'last_name' => $this->faker->lastName(), 'last_name' => $this->faker->lastName(),
'locale' => $this->faker->locale(), 'locale' => 'en',
'notes' => 'Created by DB seeder', 'notes' => 'Created by DB seeder',
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
'permissions' => '{"user":"0"}', 'permissions' => '{"user":"0"}',