Skip to content

Commit 9347615

Browse files
derrabusnicolas-grekas
authored andcommitted
[Security][SecurityBundle] Fix deprecations triggered in tests
1 parent e175653 commit 9347615

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Tests/Authentication/Provider/DaoAuthenticationProviderTest.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929
use Symfony\Component\Security\Core\User\UserInterface;
3030
use Symfony\Component\Security\Core\User\UserProviderInterface;
3131

32+
/**
33+
* @group legacy
34+
*/
3235
class DaoAuthenticationProviderTest extends TestCase
3336
{
3437
use ExpectDeprecationTrait;
3538

36-
/**
37-
* @group legacy
38-
*/
3939
public function testRetrieveUserWhenProviderDoesNotReturnAnUserInterface()
4040
{
4141
$this->expectException(AuthenticationServiceException::class);
@@ -53,9 +53,6 @@ public function testRetrieveUserWhenProviderDoesNotReturnAnUserInterface()
5353
$method->invoke($provider, 'fabien', $this->getSupportedToken());
5454
}
5555

56-
/**
57-
* @group legacy
58-
*/
5956
public function testRetrieveUserWhenUsernameIsNotFoundWithLegacyEncoderFactory()
6057
{
6158
$this->expectException(UserNotFoundException::class);

0 commit comments

Comments
 (0)