Skip to content

Commit

Permalink
adjusted unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
konradoboza committed May 20, 2024
1 parent ceceb3f commit 0b61623
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ final class SecurityPassTest extends AbstractCompilerPassTestCase
protected function setUp(): void
{
parent::setUp();
$this->setDefinition('security.authentication.provider.dao', new Definition());
$this->setDefinition('security.authentication.provider.rememberme', new Definition());
$this->setDefinition('security.authentication.provider.guard', new Definition());
$this->setDefinition('security.authentication.provider.anonymous', new Definition());
$this->setDefinition('security.http_utils', new Definition());
$this->setDefinition('security.authentication.success_handler', new Definition());
$this->setDefinition('ibexa.config.resolver', new Definition());
Expand Down Expand Up @@ -58,10 +56,5 @@ public function testAlteredDaoAuthenticationProvider(): void
'setSiteAccess',
[new Reference(SiteAccess::class)]
);
$this->assertContainerBuilderHasServiceDefinitionWithMethodCall(
'security.authentication.success_handler',
'setConfigResolver',
[new Reference('ibexa.config.resolver')]
);
}
}

0 comments on commit 0b61623

Please sign in to comment.