Skip to content

Commit

Permalink
Clean skippable tests that are never skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyweb committed Apr 15, 2022
1 parent 71d98c3 commit c869566
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Tests/Processor/TokenProcessorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ class TokenProcessorTest extends TestCase
{
public function testProcessor()
{
if (!method_exists(UsernamePasswordToken::class, 'getUserIdentifier')) {
$this->markTestSkipped('This test requires symfony/security-core 5.3+');
}

$token = new UsernamePasswordToken(new InMemoryUser('user', 'password', ['ROLE_USER']), 'provider', ['ROLE_USER']);
$tokenStorage = $this->createMock(TokenStorageInterface::class);
$tokenStorage->method('getToken')->willReturn($token);
Expand Down

0 comments on commit c869566

Please sign in to comment.