Fix double in test

This commit is contained in:
Julien Fastré 2023-08-02 23:11:02 +02:00
parent 43ac6726aa
commit 84dbfabd66
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -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();
}