Skip to content

Commit 856c127

Browse files
Merge branch '3.2' into 3.3
* 3.2: do not mock a deprecated interface [DI] Added missing deprecation in changelog [Ldap] add a changelog file
2 parents f4ff122 + 3f50940 commit 856c127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Authentication/Provider/LdapBindAuthenticationProviderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class LdapBindAuthenticationProviderTest extends TestCase
3535
public function testEmptyPasswordShouldThrowAnException()
3636
{
3737
$userProvider = $this->getMockBuilder('Symfony\Component\Security\Core\User\UserProviderInterface')->getMock();
38-
$ldap = $this->getMockBuilder('Symfony\Component\Ldap\LdapClientInterface')->getMock();
38+
$ldap = $this->getMockBuilder(LdapInterface::class)->getMock();
3939
$userChecker = $this->getMockBuilder('Symfony\Component\Security\Core\User\UserCheckerInterface')->getMock();
4040

4141
$provider = new LdapBindAuthenticationProvider($userProvider, $userChecker, 'key', $ldap);

0 commit comments

Comments
 (0)