Fix test for TranslatableActivityTypeTest.php

This commit is contained in:
Julien Fastré 2023-09-01 15:32:18 +02:00
parent 37c1dfb0ba
commit 1361e2bbf9
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -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,