Make naming more consistent

[MAILPOET-3740]
This commit is contained in:
Pavel Dohnal
2021-08-26 13:16:09 +02:00
committed by Veljko V
parent cfc3eac250
commit a53a680e8c
5 changed files with 11 additions and 11 deletions

View File

@@ -27,12 +27,12 @@ class NewslettersResponseBuilderTest extends \MailPoetTest {
'opened' => 6,
'clicked' => 4,
'unsubscribed' => 2,
'machineOpens' => 9,
'machineOpened' => 9,
'revenue' => null,
],
];
$statistics = new NewsletterStatistics(4, 6, 2, 10, null);
$statistics->setMachineOpens(9);
$statistics->setMachineOpenCount(9);
$newsletterStatsRepository = Stub::make(NewsletterStatisticsRepository::class, [
'getTotalSentCount' => $stats['total_sent'],
'getChildrenCount' => $stats['children_count'],