-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b9fe88c
commit effb96b
Showing
1 changed file
with
0 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
|
||
use Illuminate\Support\Facades\Event; | ||
use Illuminate\Support\Facades\Hash; | ||
use LdapRecord\Container; | ||
use LdapRecord\Laravel\Events\Import\Importing; | ||
use LdapRecord\Laravel\Events\Import\Synchronized; | ||
use LdapRecord\Laravel\Events\Import\Synchronizing; | ||
|
@@ -18,7 +17,6 @@ class LdapUserSynchronizerTest extends DatabaseUserProviderTest | |
|
||
public function test_eloquent_model_can_be_set() | ||
{ | ||
ray(Container::getInstance()); | ||
$synchronizer = new UserSynchronizer(TestUserModelStub::class, []); | ||
|
||
$this->assertSame(TestUserModelStub::class, $synchronizer->getEloquentModel()); | ||
|
@@ -27,7 +25,6 @@ public function test_eloquent_model_can_be_set() | |
|
||
public function test_config_can_be_set() | ||
{ | ||
ray(Container::getInstance()); | ||
$synchronizer = new UserSynchronizer(TestUserModelStub::class, []); | ||
|
||
$config = ['foo' => 'bar']; | ||
|
@@ -39,7 +36,6 @@ public function test_config_can_be_set() | |
|
||
public function test_new_ldap_user_has_guid_and_domain_set() | ||
{ | ||
ray(Container::getInstance()); | ||
Event::fake(); | ||
|
||
$ldapModel = $this->getMockLdapModel(); | ||
|
@@ -84,7 +80,6 @@ public function test_new_ldap_user_has_attributes_synchronized() | |
|
||
public function test_new_ldap_user_has_attributes_synchronized_via_handler() | ||
{ | ||
ray(Container::getInstance()); | ||
Event::fake(); | ||
|
||
$ldapModel = $this->getMockLdapModel(['cn' => 'john', 'mail' => '[email protected]']); | ||
|
@@ -137,7 +132,6 @@ public function test_ldap_sync_attributes_can_be_string() | |
|
||
public function test_password_is_synchronized_when_enabled() | ||
{ | ||
ray(Container::getInstance()); | ||
Event::fake(); | ||
|
||
$ldapModel = $this->getMockLdapModel(); | ||
|