Skip to content

Commit

Permalink
[Tests] Remove some unused fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyweb committed Nov 20, 2021
1 parent fa5b4ec commit c541926
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions Tests/DependencyInjection/SecurityExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
use Symfony\Component\Security\Core\User\UserCheckerInterface;
use Symfony\Component\Security\Core\User\UserInterface;
use Symfony\Component\Security\Core\User\UserProviderInterface;
use Symfony\Component\Security\Guard\AuthenticatorInterface as GuardAuthenticatorInterface;
use Symfony\Component\Security\Http\Authenticator\AuthenticatorInterface;
use Symfony\Component\Security\Http\Authenticator\HttpBasicAuthenticator;
use Symfony\Component\Security\Http\Authenticator\Passport\PassportInterface;
Expand Down Expand Up @@ -835,45 +834,6 @@ public function onAuthenticationFailure(Request $request, AuthenticationExceptio
}
}

class NullAuthenticator implements GuardAuthenticatorInterface
{
public function start(Request $request, AuthenticationException $authException = null)
{
}

public function supports(Request $request)
{
}

public function getCredentials(Request $request)
{
}

public function getUser($credentials, UserProviderInterface $userProvider)
{
}

public function checkCredentials($credentials, UserInterface $user)
{
}

public function createAuthenticatedToken(UserInterface $user, string $providerKey)
{
}

public function onAuthenticationFailure(Request $request, AuthenticationException $exception)
{
}

public function onAuthenticationSuccess(Request $request, TokenInterface $token, string $providerKey)
{
}

public function supportsRememberMe()
{
}
}

class TestUserChecker implements UserCheckerInterface
{
public function checkPreAuth(UserInterface $user)
Expand Down

0 comments on commit c541926

Please sign in to comment.