diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-04-15 17:53:57 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-04-15 17:53:57 +0200 |
commit | 450de0091abe137110d57005280ff56fa2914b92 (patch) | |
tree | 9e2c6efa89ff7cf3191ae6e27dac7e51570eec38 /tests/lib/group | |
parent | 64679b2e62909df9b3e493a0dc22151b5baae1a6 (diff) | |
download | nextcloud-server-450de0091abe137110d57005280ff56fa2914b92.tar.gz nextcloud-server-450de0091abe137110d57005280ff56fa2914b92.zip |
adjust tests accordingly
Diffstat (limited to 'tests/lib/group')
-rw-r--r-- | tests/lib/group/group.php | 2 | ||||
-rw-r--r-- | tests/lib/group/manager.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/group/group.php b/tests/lib/group/group.php index 147532f9947..990f8ecc1d5 100644 --- a/tests/lib/group/group.php +++ b/tests/lib/group/group.php @@ -287,7 +287,7 @@ class Group extends \PHPUnit_Framework_TestCase { ->will($this->returnValue(array('user2'))); $backend2->expects($this->once()) ->method('usersInGroup') - ->with('group1', 'user', 1, 0) + ->with('group1', 'user', 2, 1) ->will($this->returnValue(array('user1'))); $users = $group->searchUsers('user', 2, 1); diff --git a/tests/lib/group/manager.php b/tests/lib/group/manager.php index 90f0e1b35e2..a03997c58eb 100644 --- a/tests/lib/group/manager.php +++ b/tests/lib/group/manager.php @@ -254,7 +254,7 @@ class Manager extends \PHPUnit_Framework_TestCase { $backend2 = $this->getMock('\OC_Group_Database'); $backend2->expects($this->once()) ->method('getGroups') - ->with('1', 1, 0) + ->with('1', 2, 1) ->will($this->returnValue(array('group12'))); $backend2->expects($this->any()) ->method('groupExists') |