diff --git a/mailpoet/tests/integration/Subscription/ManageSubscriptionFormRendererTest.php b/mailpoet/tests/integration/Subscription/ManageSubscriptionFormRendererTest.php index e4ed3f98e9..b1e01d511b 100644 --- a/mailpoet/tests/integration/Subscription/ManageSubscriptionFormRendererTest.php +++ b/mailpoet/tests/integration/Subscription/ManageSubscriptionFormRendererTest.php @@ -20,12 +20,12 @@ class ManageSubscriptionFormRendererTest extends \MailPoetTest { public function testItGeneratesForm() { $subscriber = $this->getSubscriber($this->getSegment()); - $form = $this->formRenderer->renderForm(Subscriber::findOne($subscriber->getId())); + $form = $this->formRenderer->renderForm(Subscriber::findOne($subscriber->getId())->withSubscriptions()); expect($form)->regExp('/