Simplify and unify getViewInBroserUrl calls

[MAILPOET-2430]
This commit is contained in:
Jan Jakeš
2020-02-04 16:02:26 +01:00
committed by Jack Kitterhing
parent e5fcf5819d
commit 923dc0d1dd
5 changed files with 5 additions and 6 deletions

View File

@@ -309,7 +309,7 @@ class ShortcodesTest extends \MailPoetTest {
$links = [
$this->subscriptionUrlFactory->getUnsubscribeUrl(null),
$this->subscriptionUrlFactory->getManageUrl(null),
NewsletterUrl::getViewInBrowserUrl($this->newsletter, false, false),
NewsletterUrl::getViewInBrowserUrl($this->newsletter),
];
$result = $shortcodesObject->process($shortcodes);
// hash is returned