8000 do not mock a deprecated interface · symfony/symfony@a920274 · GitHub
[go: up one dir, main page]

Skip to content

Commit a920274

Browse files
committed
do not mock a deprecated interface
1 parent 3aaec6f commit a920274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Security/Core/Tests/Authentication/Provider/LdapBindAuthenticationProviderTest.php

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

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

0 commit comments

Comments
 (0)
0