Skip to content

Commit

Permalink
Update LdapUserSynchronizerTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Sep 23, 2024
1 parent b9fe88c commit effb96b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/Feature/LdapUserSynchronizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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());
Expand All @@ -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'];
Expand All @@ -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();
Expand Down Expand Up @@ -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]']);
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit effb96b

Please sign in to comment.