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

Commit 41e9817

Browse files
committed
Update test.
1 parent ae8defb commit 41e9817

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/DatabaseImporterTest.php

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

55
use Adldap\Laravel\Auth\Importer;
66
use Adldap\Laravel\Tests\Models\User;
7-
use Illuminate\Support\Facades\Hash;
87

98
class DatabaseImporterTest extends DatabaseTestCase
109
{
@@ -17,10 +16,10 @@ public function test_run()
1716

1817
$importer = new Importer();
1918

20-
$model = $importer->run($user, new User(), ['password' => 'password']);
19+
$model = $importer->run($user, new User());
2120

2221
$this->assertEquals($user->getCommonName(), $model->name);
2322
$this->assertEquals($user->getUserPrincipalName(), $model->email);
24-
$this->assertTrue(Hash::check('password', $model->password));
23+
$this->assertFalse($model->exists);
2524
}
2625
}

0 commit comments

Comments
 (0)