Refactor getUnsubscribeUrl to instance method
[MAILPOET-2381]
This commit is contained in:
committed by
Jack Kitterhing
parent
4e75f8883e
commit
d90d5c6385
@@ -805,7 +805,7 @@ class NewslettersTest extends \MailPoetTest {
|
||||
function testItCanSendAPreview() {
|
||||
|
||||
$subscriber = 'test@subscriber.com';
|
||||
$unsubscribeLink = SubscriptionUrl::getUnsubscribeUrl(null);
|
||||
$unsubscribeLink = $this->subscription_url_factory->getUnsubscribeUrl(null);
|
||||
$manageLink = $this->subscription_url_factory->getManageUrl(null);
|
||||
$viewInBrowserLink = Url::getViewInBrowserUrl(null, $this->newsletter, false, false, true);
|
||||
$mailerMetaInfo = new MetaInfo;
|
||||
|
Reference in New Issue
Block a user