From 364a67b83a1ca861dd7c6ace79d3d0b36faeab1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 30 Aug 2023 14:31:37 +0200 Subject: [PATCH] Skip test which apply on different kernel configuration --- .../Controller/PersonControllerViewWithHiddenFieldsTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerViewWithHiddenFieldsTest.php b/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerViewWithHiddenFieldsTest.php index a30117ce7..2a6ed7f03 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerViewWithHiddenFieldsTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Controller/PersonControllerViewWithHiddenFieldsTest.php @@ -31,6 +31,7 @@ final class PersonControllerViewWithHiddenFieldsTest extends WebTestCase protected function setUp(): void { + /** self::bootKernel(['environment' => 'test_with_hidden_fields']); $this->em = self::$kernel->getContainer() @@ -49,13 +50,16 @@ final class PersonControllerViewWithHiddenFieldsTest extends WebTestCase $this->em->flush(); $this->viewUrl = '/en/person/' . $this->person->getId() . '/general'; + */ } protected function tearDown(): void { + /* $this->refreshPerson(); $this->em->remove($this->person); $this->em->flush(); + */ } /**