Skip to content

Commit

Permalink
Fix test container trait
Browse files Browse the repository at this point in the history
  • Loading branch information
AshrafOxid committed Dec 11, 2024
1 parent 4966943 commit eeadba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ContainerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private function replaceContainerInstance(): void
private function attachContainerToContainerFactory(): void
{
if (!$this->container->isCompiled()) {
$this->container->compile();
$this->compileContainer();
}
$reflectionClass = new ReflectionClass(ContainerFactory::getInstance());
$reflectionProperty = $reflectionClass->getProperty('symfonyContainer');
Expand Down

0 comments on commit eeadba3

Please sign in to comment.