Skip to content

Commit 8ff376b

Browse files
derrabusnicolas-grekas
authored andcommitted
[Security] Fix return type declarations
1 parent 3c20d33 commit 8ff376b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Tests/Authentication/Provider/DaoAuthenticationProviderTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818

1919
class DaoAuthenticationProviderTest extends TestCase
2020
{
21+
/**
22+
* @group legacy
23+
*/
2124
public function testRetrieveUserWhenProviderDoesNotReturnAnUserInterface()
2225
{
2326
$this->expectException('Symfony\Component\Security\Core\Exception\AuthenticationServiceException');

Tests/Authentication/Provider/UserAuthenticationProviderTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ public function testAuthenticateWhenUsernameIsNotFoundAndHideIsTrue()
6262
$provider->authenticate($this->getSupportedToken());
6363
}
6464

65+
/**
66+
* @group legacy
67+
*/
6568
public function testAuthenticateWhenProviderDoesNotReturnAnUserInterface()
6669
{
6770
$this->expectException('Symfony\Component\Security\Core\Exception\AuthenticationServiceException');

0 commit comments

Comments
 (0)