mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fix test for TranslatableActivityTypeTest.php
This commit is contained in:
parent
37c1dfb0ba
commit
1361e2bbf9
@ -27,18 +27,11 @@ final class TranslatableActivityTypeTest extends KernelTestCase
|
|||||||
*/
|
*/
|
||||||
protected $builder;
|
protected $builder;
|
||||||
|
|
||||||
/**
|
|
||||||
* @var \Symfony\Component\DependencyInjection\ContainerInterface
|
|
||||||
*/
|
|
||||||
protected $container;
|
|
||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
self::bootKernel();
|
self::bootKernel();
|
||||||
|
|
||||||
$this->container = self::$kernel->getContainer();
|
$this->builder = self::$container
|
||||||
|
|
||||||
$this->builder = $this->container
|
|
||||||
->get('form.factory')
|
->get('form.factory')
|
||||||
->createBuilder(FormType::class, null, [
|
->createBuilder(FormType::class, null, [
|
||||||
'csrf_protection' => false,
|
'csrf_protection' => false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user