From 1361e2bbf988fcbc4d3ea6e78587b169ca974c5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 1 Sep 2023 15:32:18 +0200 Subject: [PATCH] Fix test for TranslatableActivityTypeTest.php --- .../Tests/Form/Type/TranslatableActivityTypeTest.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Bundle/ChillActivityBundle/Tests/Form/Type/TranslatableActivityTypeTest.php b/src/Bundle/ChillActivityBundle/Tests/Form/Type/TranslatableActivityTypeTest.php index c87a04f9a..313d77617 100644 --- a/src/Bundle/ChillActivityBundle/Tests/Form/Type/TranslatableActivityTypeTest.php +++ b/src/Bundle/ChillActivityBundle/Tests/Form/Type/TranslatableActivityTypeTest.php @@ -27,18 +27,11 @@ final class TranslatableActivityTypeTest extends KernelTestCase */ protected $builder; - /** - * @var \Symfony\Component\DependencyInjection\ContainerInterface - */ - protected $container; - protected function setUp(): void { self::bootKernel(); - $this->container = self::$kernel->getContainer(); - - $this->builder = $this->container + $this->builder = self::$container ->get('form.factory') ->createBuilder(FormType::class, null, [ 'csrf_protection' => false,