Skip to content

Commit

Permalink
Fixed usage of deprecated PHPUnit method
Browse files Browse the repository at this point in the history
  • Loading branch information
stloyd committed Aug 20, 2023
1 parent 0c99da2 commit fdb1203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Security/Core/User/EntityUserProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function testLoadUserByIdentifierThrowsExceptionWhenUserIsNotFound(): voi
$provider = $this->createEntityUserProvider();

$this->expectException(UserNotFoundException::class);
$this->expectDeprecationMessage('User \'asm89\' not found.');
$this->expectExceptionMessage('User \'asm89\' not found.');

$provider->loadUserByIdentifier('asm89');
}
Expand Down

0 comments on commit fdb1203

Please sign in to comment.