diff options
author | Boris Fritscher <boris@fritscher.ch> | 2020-01-09 22:45:28 +0300 |
---|---|---|
committer | Boris Fritscher <boris@fritscher.ch> | 2020-01-09 22:45:28 +0300 |
commit | 28357f7b74cfab166ac9c68518e90e1fcbabb665 (patch) | |
tree | b2e5d123e7ab7640d6b6b23b6e7d98bf879e30aa /tests | |
parent | e1d52566bb9cf98570baa32d3bc4bc3776bf85fa (diff) |
send to all emails of the contact matching a group
Signed-off-by: Boris Fritscher <boris@fritscher.ch>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Unit/Service/Group/ContactsGroupServiceTest.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Unit/Service/Group/ContactsGroupServiceTest.php b/tests/Unit/Service/Group/ContactsGroupServiceTest.php index 1afbd772b..7d5894d23 100644 --- a/tests/Unit/Service/Group/ContactsGroupServiceTest.php +++ b/tests/Unit/Service/Group/ContactsGroupServiceTest.php @@ -131,7 +131,7 @@ class ContactsGroupServiceTest extends TestCase { 'CATEGORIES' => 'work,family' ], [ - // take first email + // take all email 'UID' => 2, 'FN' => 'John Doe', 'EMAIL' => [ @@ -166,6 +166,9 @@ class ContactsGroupServiceTest extends TestCase { [ 'email' => 'john@doe.info', ], + [ + 'email' => 'doe@john.info', + ], ]; $actual = $this->groupService->getUsers($groupId); |