We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ad0b3b commit e62ae4aCopy full SHA for e62ae4a
database/factories/Domain/Users/Models/UserFactory.php
@@ -4,6 +4,7 @@
4
5
use App\Domain\Users\Models\User;
6
use Illuminate\Database\Eloquent\Factories\Factory;
7
+use Illuminate\Support\Facades\Hash;
8
use Illuminate\Support\Str;
9
10
/**
@@ -29,7 +30,7 @@ public function definition(): array
29
30
'name' => fake()->name(),
31
'email' => fake()->unique()->safeEmail(),
32
'email_verified_at' => now(),
- 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
33
+ 'password' => Hash::make('password'), // password
34
'remember_token' => Str::random(10),
35
];
36
}
0 commit comments