diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2015-03-24 21:42:40 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2015-03-24 21:42:40 +0100 |
commit | b1c513f000e468dc16c31890699b296d23548d92 (patch) | |
tree | 9f5fe1fd63e91ca4b6a351da63257ac53d284341 /tests/lib/group | |
parent | abfb524b2901516048d9bd909fe6fd809a591f27 (diff) | |
download | nextcloud-server-b1c513f000e468dc16c31890699b296d23548d92.tar.gz nextcloud-server-b1c513f000e468dc16c31890699b296d23548d92.zip |
Fix unit tests
Altough more are required to make sure this does not happen again
Diffstat (limited to 'tests/lib/group')
-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) { |