Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit 1975d34

Browse files
Use Hash::make() instead of bcrypt()
1 parent 3a70bdf commit 1975d34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/DatabaseProviderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public function auth_attempts_fallback_using_config_option()
176176
EloquentUser::create([
177177
'email' => 'jdoe@email.com',
178178
'name' => 'John Doe',
179-
'password' => bcrypt('Password123'),
179+
'password' => Hash::make('Password123'),
180180
]);
181181

182182
$credentials = [
@@ -206,7 +206,7 @@ public function auth_attempts_using_fallback_does_not_require_connection()
206206
EloquentUser::create([
207207
'email' => 'jdoe@email.com',
208208
'name' => 'John Doe',
209-
'password' => bcrypt('Password123'),
209+
'password' => Hash::make('Password123'),
210210
]);
211211

212212
$credentials = [

0 commit comments

Comments
 (0)