Add statistics to template

[MAILPOET-1571]
This commit is contained in:
Pavel Dohnal
2019-01-14 14:05:56 +01:00
parent 3bd80aecd3
commit 1db75f40fb
3 changed files with 159 additions and 123 deletions

View File

@@ -170,7 +170,7 @@ class WorkerTest extends \MailPoetTest {
$this->stringContains('statsNotification.html'),
$this->callback(function($context){
return ($context['topLink'] === 'Link url2')
&& ($context['topLinkClicks'] === '2');
&& ($context['topLinkClicks'] === 2);
}));
$this->stats_notifications->process();