updating user and language models

This commit is contained in:
2022-12-07 11:42:36 -07:00
parent fdba9f1ae7
commit 64d4d326b7
4 changed files with 9 additions and 7 deletions

View File

@ -32,7 +32,7 @@ class UserFactory extends Factory
'email' => $this->faker->unique()->safeEmail(),
'email_verified_at' => now(),
'timezone_name' => $this->faker->timezone(),
'timezone_name' => Language::all()->random()->id,
'language_id' => Language::all()->random()->id,
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
'remember_token' => Str::random(10),
];