From 245294fbc55d0a2ecc765620758763b2f8f72998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cle=CC=81ment=20Blanco?= Date: Mon, 17 Jul 2017 14:42:08 +0100 Subject: [PATCH] Trying to make the tests green. --- tests/Auth/LdapTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Auth/LdapTest.php b/tests/Auth/LdapTest.php index 573de4c43..f6e8336e6 100644 --- a/tests/Auth/LdapTest.php +++ b/tests/Auth/LdapTest.php @@ -74,6 +74,7 @@ class LdapTest extends BrowserKitTest { $this->mockLdap->shouldReceive('connect')->once()->andReturn($this->resourceId); $this->mockLdap->shouldReceive('setVersion')->once(); + $this->mockLdap->shouldReceive('setOption')->times(2); $this->mockLdap->shouldReceive('searchAndGetEntries')->times(2) ->with($this->resourceId, config('services.ldap.base_dn'), \Mockery::type('string'), \Mockery::type('array')) ->andReturn(['count' => 1, 0 => [