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);