aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Contacts/ContactsMenu/ManagerTest.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2017-04-10 16:49:26 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-04-25 20:47:17 +0200
commitb8c2a8ae36235780675103286a04f8b6af50b4aa (patch)
treec75dd2baa0fdaabaf2a2c7aec40781ce3177509a /tests/lib/Contacts/ContactsMenu/ManagerTest.php
parent36cee1f3867bdaf9fd792fe9c03fe4e4ef95ffcc (diff)
downloadnextcloud-server-b8c2a8ae36235780675103286a04f8b6af50b4aa.tar.gz
nextcloud-server-b8c2a8ae36235780675103286a04f8b6af50b4aa.zip
Don't show contacts an entry for themselves
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/lib/Contacts/ContactsMenu/ManagerTest.php')
-rw-r--r--tests/lib/Contacts/ContactsMenu/ManagerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Contacts/ContactsMenu/ManagerTest.php b/tests/lib/Contacts/ContactsMenu/ManagerTest.php
index 9b84bd76648..9c92ec54b9f 100644
--- a/tests/lib/Contacts/ContactsMenu/ManagerTest.php
+++ b/tests/lib/Contacts/ContactsMenu/ManagerTest.php
@@ -77,7 +77,7 @@ class ManagerTest extends TestCase {
$provider = $this->createMock(IProvider::class);
$this->contactsStore->expects($this->once())
->method('getContacts')
- ->with($filter)
+ ->with($user, $filter)
->willReturn($entries);
$this->actionProviderStore->expects($this->once())
->method('getProviders')