Fix counts in segment filter in subscriber listing

[MAILPOET-3132]
This commit is contained in:
Rostislav Wolny
2020-09-07 16:20:30 +02:00
committed by Veljko V
parent ea16dc7925
commit 65fd596f71
2 changed files with 3 additions and 5 deletions

View File

@ -59,7 +59,7 @@ class SubscriberListingRepositoryTest extends \MailPoetTest {
expect($filters['segment'])->count(3);
expect($filters['segment'][0]['label'])->equals('All Lists');
expect($filters['segment'][1]['label'])->equals('Subscribers without a list (3)');
expect($filters['segment'][2]['label'])->endsWith('(1)');
expect($filters['segment'][2]['label'])->endsWith('(2)');
}
public function testItBuildsGroups() {