fix LDAP edge-case initialization error (#931)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user