mirror of
https://github.com/opdavies/gmail-filter-builder.git
synced 2025-09-03 20:25:33 +01:00
Allow for passing multiple lists
This commit is contained in:
parent
035f4fb6c7
commit
0b225663e0
2 changed files with 10 additions and 1 deletions
|
@ -143,6 +143,11 @@ class FilterTest extends TestCase
|
|||
['hasTheWord' => 'list:foobar'],
|
||||
$this->filter->fromList('foobar')->toArray()
|
||||
);
|
||||
|
||||
$this->assertEquals(
|
||||
['hasTheWord' => 'list:list-one.com|list-two.com'],
|
||||
$this->filter->fromList(['list-one.com', 'list-two.com'])->toArray()
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue