From d3f723fa5b5adb0d59f7af690aaf469d1d2b8ca8 Mon Sep 17 00:00:00 2001 From: Rostislav Wolny Date: Tue, 20 Oct 2020 16:57:12 +0200 Subject: [PATCH] Fix doctrine deprecation warning in tests [MAILPOET-3232] --- .../integration/Newsletter/Blocks/AbandonedCartContentTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }