We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ca502f commit a6efb4cCopy full SHA for a6efb4c
Tests/Authentication/Provider/DaoAuthenticationProviderTest.php
@@ -185,7 +185,7 @@ public function testCheckAuthenticationWhenCredentialsAreNotValid()
185
public function testCheckAuthenticationDoesNotReauthenticateWhenPasswordHasChanged()
186
{
187
$this->expectException(BadCredentialsException::class);
188
- $user = $this->getMockBuilder(UserInterface::class)->getMock();
+ $user = $this->createMock(UserInterface::class);
189
$user->expects($this->once())
190
->method('getPassword')
191
->willReturn('foo')
0 commit comments