diff --git a/tests/integration/Newsletter/Blocks/AbandonedCartContentTest.php b/tests/integration/Newsletter/Blocks/AbandonedCartContentTest.php index bb2f33263e..dd019ccda4 100644 --- a/tests/integration/Newsletter/Blocks/AbandonedCartContentTest.php +++ b/tests/integration/Newsletter/Blocks/AbandonedCartContentTest.php @@ -189,7 +189,7 @@ class AbandonedCartContentTest extends \MailPoetTest { $newsletterOption->setValue($event); $this->entityManager->persist($newsletterOption); - $this->entityManager->flush($newsletter); + $this->entityManager->flush(); $this->entityManager->refresh($newsletter); }