Add ability to filter by mailing list

This commit is contained in:
Oliver Davies 2018-08-15 21:36:37 +01:00
parent cac162c264
commit 5a0489c61e
3 changed files with 26 additions and 0 deletions

View file

@ -134,6 +134,17 @@ class FilterTest extends TestCase
);
}
/**
* @covers ::list
*/
public function testList()
{
$this->assertEquals(
['hasTheWord' => 'list:foobar'],
$this->filter->list('foobar')->toArray()
);
}
/**
* @covers ::excludeChats
*/