Perbaikan modul data karyawan dan staff + modul SOP import
This commit is contained in:
@@ -25,11 +25,12 @@ class UserFactory extends Factory
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'name' => fake()->name(),
|
||||
'first_name' => fake()->firstName(),
|
||||
'last_name' => fake()->lastName(),
|
||||
'email' => fake()->unique()->safeEmail(),
|
||||
'email_verified_at' => now(),
|
||||
'password' => static::$password ??= Hash::make('password'),
|
||||
'remember_token' => Str::random(10),
|
||||
'password' => static::$password ??= \Illuminate\Support\Facades\Hash::make('password'),
|
||||
'remember_token' => \Illuminate\Support\Str::random(10),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user