fix LDAP edge-case initialization error (#931)

This commit is contained in:
Kevin Papst
2019-07-08 20:35:41 +02:00
committed by GitHub
parent f0822fa2b1
commit bf9ae44775
2 changed files with 53 additions and 14 deletions

View File

@@ -80,8 +80,15 @@ class LdapDriverTest extends TestCase
class TestLdapDriver extends LdapDriver
{
private $testDriver;
public function __construct(Ldap $ldap)
{
$this->driver = $ldap;
$this->testDriver = $ldap;
}
protected function getDriver()
{
return $this->testDriver;
}
}