Fetch statistics for listing in batch

[MAILPOET-2645]
This commit is contained in:
Jan Jakeš
2020-03-04 13:50:59 +01:00
committed by Jack Kitterhing
parent 310d658647
commit 65ab8fd420
5 changed files with 132 additions and 89 deletions

View File

@ -63,6 +63,7 @@ class NewslettersTest extends \MailPoetTest {
ContainerWrapper::getInstance()->get(Newsletters::class),
[
'newslettersResponseBuilder' => new NewslettersResponseBuilder(
$this->diContainer->get(EntityManager::class),
new NewsletterStatisticsRepository(
$this->diContainer->get(EntityManager::class),
$this->makeEmpty(WCHelper::class)