From df529be2ceb666108d043d67c2e420c6fa58c316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Sat, 22 Jul 2023 23:50:22 +0200 Subject: [PATCH] Fix: Add missing prophecy methods in CronManagerTest --- src/Bundle/ChillMainBundle/Tests/Cron/CronManagerTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Bundle/ChillMainBundle/Tests/Cron/CronManagerTest.php b/src/Bundle/ChillMainBundle/Tests/Cron/CronManagerTest.php index af96b9cc2..e5a44b2fd 100644 --- a/src/Bundle/ChillMainBundle/Tests/Cron/CronManagerTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Cron/CronManagerTest.php @@ -151,6 +151,7 @@ final class CronManagerTest extends TestCase $query = $this->prophesize(AbstractQuery::class); $query->setParameters(Argument::type('array'))->willReturn($query->reveal()); + $query->setParameter(Argument::type('string'), Argument::any(), Argument::type('string'))->willReturn($query->reveal()); $query->execute()->shouldBeCalled(); $em->createQuery(Argument::type('string'))->willReturn($query->reveal());