Add ga campaign to api response

[MAILPOET-2397]
This commit is contained in:
Pavel Dohnal
2019-10-23 09:05:36 +02:00
committed by Jack Kitterhing
parent 200a9b1edb
commit ef79b7efbb
3 changed files with 23 additions and 2 deletions

View File

@@ -138,8 +138,7 @@ class NewslettersTest extends \MailPoetTest {
ContainerWrapper::getInstance()->get(NewslettersRepository::class),
ContainerWrapper::getInstance()->get(NewslettersResponseBuilder::class),
ContainerWrapper::getInstance()->get(PostNotificationScheduler::class),
ContainerWrapper::getInstance()->get(MetaInfo::class),
$this->subscription_url_factory
ContainerWrapper::getInstance()->get(MetaInfo::class)
);
$response = $this->endpoint->get(['id' => $this->newsletter->id]);
expect($response->status)->equals(APIResponse::STATUS_OK);