From cefd8c4cb5c33a5d45519825716fe6f1c9b4978c Mon Sep 17 00:00:00 2001 From: ashraf Date: Wed, 11 Dec 2024 15:30:24 +0100 Subject: [PATCH] Fix test container trait --- tests/ContainerTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ContainerTrait.php b/tests/ContainerTrait.php index 078e5ebb8e..f7c44af44b 100644 --- a/tests/ContainerTrait.php +++ b/tests/ContainerTrait.php @@ -67,7 +67,7 @@ private function compileContainer(): void private function attachContainerToContainerFactory(): void { if (!$this->container->isCompiled()) { - $this->container->compile(); + $this->compileContainer(); } $reflectionClass = new ReflectionClass(ContainerFactory::getInstance()); $reflectionProperty = $reflectionClass->getProperty('symfonyContainer');