diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-19 16:20:27 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-19 16:44:43 +0100 |
commit | c565a7b0429be19e98e42599c8ab7b6e4a46dc8d (patch) | |
tree | 09171a276df2ad760a59ed8c8e21905923725e30 /tests | |
parent | 9ec2850c78e673a4aa1c4af97aa5be4414bd438f (diff) | |
download | nextcloud-server-c565a7b0429be19e98e42599c8ab7b6e4a46dc8d.tar.gz nextcloud-server-c565a7b0429be19e98e42599c8ab7b6e4a46dc8d.zip |
Fix failing unit test :skull:
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/util.php | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/tests/lib/util.php b/tests/lib/util.php index cb575976f3f..a328b1923e9 100644 --- a/tests/lib/util.php +++ b/tests/lib/util.php @@ -306,24 +306,10 @@ class Test_Util extends \Test\TestCase { $groupManager ->expects($this->at(0)) - ->method('getUserGroups') + ->method('getUserGroupIds') ->with($user) ->will($this->returnValue($membership)); -// $uid = "user1"; -// \OC_User::setUserId($uid); -// -// \OC_User::createUser($uid, "passwd"); -// -// foreach ($groups as $group) { -// \OC_Group::createGroup($group); -// } -// -// foreach ($membership as $group) { -// \OC_Group::addToGroup($uid, $group); -// } -// - $result = \OC_Util::isSharingDisabledForUser($config, $groupManager, $user); $this->assertSame($expected, $result); |