do not mock a deprecated interface
This commit is contained in:
parent
3aaec6f3a6
commit
a920274709
@ -32,7 +32,7 @@ class LdapBindAuthenticationProviderTest extends TestCase
|
||||
public function testEmptyPasswordShouldThrowAnException()
|
||||
{
|
||||
$userProvider = $this->getMockBuilder('Symfony\Component\Security\Core\User\UserProviderInterface')->getMock();
|
||||
$ldap = $this->getMockBuilder('Symfony\Component\Ldap\LdapClientInterface')->getMock();
|
||||
$ldap = $this->getMockBuilder(LdapInterface::class)->getMock();
|
||||
$userChecker = $this->getMockBuilder('Symfony\Component\Security\Core\User\UserCheckerInterface')->getMock();
|
||||
|
||||
$provider = new LdapBindAuthenticationProvider($userProvider, $userChecker, 'key', $ldap);
|
||||
|
Reference in New Issue
Block a user