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

Commit c75db62

Browse files
authored
Merge pull request #636 from HepplerDotNet/patch-2
Use Hash::make() instead of bcrypt()
2 parents 3a70bdf + 41f31f5 commit c75db62

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Console/ImportTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Mockery as m;
66
use Adldap\Query\Builder;
7+
use Illuminate\Support\Facades\Hash;
78
use Adldap\Laravel\Facades\Resolver;
89
use Adldap\Laravel\Tests\Models\TestUser;
910
use Adldap\Laravel\Tests\DatabaseTestCase;
@@ -93,7 +94,7 @@ public function test_model_will_be_restored_when_ldap_account_is_active()
9394
$model = TestUser::create([
9495
'email' => 'jdoe@email.com',
9596
'name' => 'John Doe',
96-
'password' => bcrypt('password'),
97+
'password' => Hash::make('password'),
9798
]);
9899

99100
$model->delete();

0 commit comments

Comments
 (0)