diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-03-30 17:04:09 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-03-30 17:04:09 +0200 |
commit | bf17ac929d16b36a131ba9cec7abed304bb78abb (patch) | |
tree | ea46e51a6980b3856ec1d30688210b56d6293992 /tests/lib | |
parent | 308a43a10e655008e4dc55446cae58f0eecc4e62 (diff) | |
parent | 4163a5efadd5984010d455c7cbd848bd17d5450d (diff) | |
download | nextcloud-server-bf17ac929d16b36a131ba9cec7abed304bb78abb.tar.gz nextcloud-server-bf17ac929d16b36a131ba9cec7abed304bb78abb.zip |
Merge pull request #15169 from rullzer/fix_displayNamesInGroup
Groupmanagers displayNamesInGroup should actually search in displaynames
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/group/manager.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/group/manager.php b/tests/lib/group/manager.php index e3462caf806..76996a2b9bb 100644 --- a/tests/lib/group/manager.php +++ b/tests/lib/group/manager.php @@ -448,7 +448,7 @@ class Manager extends \Test\TestCase { $userBackend = $this->getMock('\OC_User_Backend'); $userManager->expects($this->any()) - ->method('search') + ->method('searchDisplayName') ->with('user3') ->will($this->returnCallback(function($search, $limit, $offset) use ($userBackend) { switch($offset) { @@ -513,7 +513,7 @@ class Manager extends \Test\TestCase { $userBackend = $this->getMock('\OC_User_Backend'); $userManager->expects($this->any()) - ->method('search') + ->method('searchDisplayName') ->with('user3') ->will($this->returnCallback(function($search, $limit, $offset) use ($userBackend) { switch($offset) { @@ -580,7 +580,7 @@ class Manager extends \Test\TestCase { $userBackend = $this->getMock('\OC_User_Backend'); $userManager->expects($this->any()) - ->method('search') + ->method('searchDisplayName') ->with('user3') ->will($this->returnCallback(function($search, $limit, $offset) use ($userBackend) { switch($offset) { |