Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Fritscher <boris@fritscher.ch>2020-01-09 22:45:28 +0300
committerBoris Fritscher <boris@fritscher.ch>2020-01-09 22:45:28 +0300
commit28357f7b74cfab166ac9c68518e90e1fcbabb665 (patch)
treeb2e5d123e7ab7640d6b6b23b6e7d98bf879e30aa /tests
parente1d52566bb9cf98570baa32d3bc4bc3776bf85fa (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.php5
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);