From ba5b83593344c5eb44c6db8545f190d80a2c447a Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 12 Jan 2022 13:10:29 -0800 Subject: [PATCH] Lock seeder to english Signed-off-by: snipe --- database/factories/SettingFactory.php | 2 +- database/factories/UserFactory.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/database/factories/SettingFactory.php b/database/factories/SettingFactory.php index d5858e1931..73a9e049dc 100644 --- a/database/factories/SettingFactory.php +++ b/database/factories/SettingFactory.php @@ -47,7 +47,7 @@ class SettingFactory extends Factory 'alerts_enabled' => true, 'brand' => 1, 'default_currency' => $this->faker->currencyCode, - 'locale' => $this->faker->locale, + 'locale' => 'en', 'pwd_secure_min' => 10, // Match web setup 'email_domain' => 'test.com', ]; diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php index 5e4622109c..bc23625749 100644 --- a/database/factories/UserFactory.php +++ b/database/factories/UserFactory.php @@ -26,7 +26,7 @@ class UserFactory extends Factory 'first_name' => $this->faker->firstName(), 'jobtitle' => $this->faker->jobTitle(), 'last_name' => $this->faker->lastName(), - 'locale' => $this->faker->locale(), + 'locale' => 'en', 'notes' => 'Created by DB seeder', 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password 'permissions' => '{"user":"0"}',