Skip to content

Commit a6efb4c

Browse files
More cleanups and fixes
1 parent 4ca502f commit a6efb4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Authentication/Provider/DaoAuthenticationProviderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public function testCheckAuthenticationWhenCredentialsAreNotValid()
185185
public function testCheckAuthenticationDoesNotReauthenticateWhenPasswordHasChanged()
186186
{
187187
$this->expectException(BadCredentialsException::class);
188-
$user = $this->getMockBuilder(UserInterface::class)->getMock();
188+
$user = $this->createMock(UserInterface::class);
189189
$user->expects($this->once())
190190
->method('getPassword')
191191
->willReturn('foo')

0 commit comments

Comments
 (0)