From 11e78286cb96b28518658cef331e31b6a65eae1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 2 Jul 2025 12:46:18 +0200 Subject: [PATCH] Fix test --- .../Tests/Services/Workflow/CancelStaleWorkflowHandlerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/Tests/Services/Workflow/CancelStaleWorkflowHandlerTest.php b/src/Bundle/ChillMainBundle/Tests/Services/Workflow/CancelStaleWorkflowHandlerTest.php index 275adfe75..aefcf7948 100644 --- a/src/Bundle/ChillMainBundle/Tests/Services/Workflow/CancelStaleWorkflowHandlerTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Services/Workflow/CancelStaleWorkflowHandlerTest.php @@ -98,7 +98,7 @@ class CancelStaleWorkflowHandlerTest extends TestCase $em = $this->prophesize(EntityManagerInterface::class); $em->flush()->shouldBeCalled(); - $em->remove($workflow)->shouldBeCalled(); + $em->remove($workflow)->shouldNotBeCalled(); $handler = $this->buildHandler($workflow, $em->reveal(), $clock);