From 84dbfabd6659e773e801108f789a75c267647467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 2 Aug 2023 23:11:02 +0200 Subject: [PATCH] Fix double in test --- .../AccompanyingPeriod/Events/PersonMoveEventSubscriberTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Bundle/ChillPersonBundle/Tests/AccompanyingPeriod/Events/PersonMoveEventSubscriberTest.php b/src/Bundle/ChillPersonBundle/Tests/AccompanyingPeriod/Events/PersonMoveEventSubscriberTest.php index e7fa379f6..1ee427e25 100644 --- a/src/Bundle/ChillPersonBundle/Tests/AccompanyingPeriod/Events/PersonMoveEventSubscriberTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/AccompanyingPeriod/Events/PersonMoveEventSubscriberTest.php @@ -265,6 +265,7 @@ final class PersonMoveEventSubscriberTest extends KernelTestCase if (null === $engine) { $double = $this->prophesize(\Twig\Environment::class); + $double->render(Argument::type('string'), Argument::type('array'))->willReturn('dummy string'); $engine = $double->reveal(); }