Add count of bounced emails into API response
[MAILPOET-3766]
This commit is contained in:
@ -27,11 +27,12 @@ class NewslettersResponseBuilderTest extends \MailPoetTest {
|
||||
'opened' => 6,
|
||||
'clicked' => 4,
|
||||
'unsubscribed' => 2,
|
||||
'bounced' => 1,
|
||||
'machineOpened' => 9,
|
||||
'revenue' => null,
|
||||
],
|
||||
];
|
||||
$statistics = new NewsletterStatistics(4, 6, 2, 10, null);
|
||||
$statistics = new NewsletterStatistics(4, 6, 2, 1, 10, null);
|
||||
$statistics->setMachineOpenCount(9);
|
||||
$newsletterStatsRepository = Stub::make(NewsletterStatisticsRepository::class, [
|
||||
'getTotalSentCount' => $stats['total_sent'],
|
||||
|
Reference in New Issue
Block a user