Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit d80836d

Browse files
committed
Fix PHPUnit 8.5 deprecations.
1 parent 078f2ae commit d80836d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Guard/Tests/Provider/GuardAuthenticationProviderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public function testSupportsChecksGuardAuthenticatorsTokenOrigin()
216216
public function testAuthenticateFailsOnNonOriginatingToken()
217217
{
218218
$this->expectException('Symfony\Component\Security\Core\Exception\AuthenticationException');
219-
$this->expectExceptionMessageRegExp('/second_firewall_0/');
219+
$this->expectExceptionMessageMatches('/second_firewall_0/');
220220
$authenticatorA = $this->getMockBuilder(AuthenticatorInterface::class)->getMock();
221221
$authenticators = [$authenticatorA];
222222

0 commit comments

Comments
 (0)