Remove usless assignment

[MAILPOET-2993]
This commit is contained in:
Pavel Dohnal
2020-11-11 09:54:15 +01:00
committed by Veljko V
parent fcbfd6fb68
commit d4541dfa4c

View File

@ -142,7 +142,7 @@ class ShortcodesTest extends \MailPoetTest {
public function itCanProcessPostNotificationNewsletterNumberShortcode() {
// create first post notification
$postNotificationHistory = $this->_createNewsletter(
$parentId = $this->newsletter,
$this->newsletter,
$type = Newsletter::TYPE_NOTIFICATION_HISTORY
);
$this->shortcodesObject->setNewsletter($postNotificationHistory);
@ -151,7 +151,7 @@ class ShortcodesTest extends \MailPoetTest {
// create another post notification
$postNotificationHistory = $this->_createNewsletter(
$parentId = $this->newsletter,
$this->newsletter,
$type = Newsletter::TYPE_NOTIFICATION_HISTORY
);
$this->shortcodesObject->setNewsletter($postNotificationHistory);