Skip to content

Commit

Permalink
minor #52382 [SecurityBundle] remove invalid test (xabbuh)
Browse files Browse the repository at this point in the history
This PR was merged into the 6.3 branch.

Discussion
----------

[SecurityBundle] remove invalid test

| Q             | A
| ------------- | ---
| Branch?       | 6.3
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        |
| License       | MIT

Commits
-------

22145bf remove invalid test
  • Loading branch information
xabbuh committed Oct 31, 2023
2 parents 7a59ef0 + 22145bf commit 33d214a
Showing 1 changed file with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -566,26 +566,6 @@ public function testSecretRememberMeHasher()
$this->assertSame('very', $handler->getArgument(2));
}

public function testSecretRememberMeHandler()
{
$container = $this->getRawContainer();

$container->register('custom_remember_me', \stdClass::class);
$container->loadFromExtension('security', [
'enable_authenticator_manager' => true,
'firewalls' => [
'default' => [
'remember_me' => ['secret' => 'very', 'token_provider' => 'token_provider_id'],
],
],
]);

$container->compile();

$handler = $container->getDefinition('security.authenticator.remember_me_handler.default');
$this->assertSame('very', $handler->getArgument(1));
}

public static function sessionConfigurationProvider(): array
{
return [
Expand Down

0 comments on commit 33d214a

Please sign in to comment.