diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-07-11 16:53:01 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-07-11 21:02:27 +0200 |
commit | 4ebf001b2ecd8f1cf2fef8faa47aa9a28200b8c9 (patch) | |
tree | bc1b331d5e63b92219610982e09f861dfeac610f /tests/lib/Group/GroupTest.php | |
parent | 31018adab3cbe140b4083fcb7cfd093a5d0322fe (diff) | |
download | nextcloud-server-4ebf001b2ecd8f1cf2fef8faa47aa9a28200b8c9.tar.gz nextcloud-server-4ebf001b2ecd8f1cf2fef8faa47aa9a28200b8c9.zip |
Improve ManagerTest
* No DB required
* Fixed phpunit 5.4 warnings
Diffstat (limited to 'tests/lib/Group/GroupTest.php')
-rw-r--r-- | tests/lib/Group/GroupTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Group/GroupTest.php b/tests/lib/Group/GroupTest.php index 040a86099a4..fcf6e9d6292 100644 --- a/tests/lib/Group/GroupTest.php +++ b/tests/lib/Group/GroupTest.php @@ -15,10 +15,10 @@ class GroupTest extends \Test\TestCase { /** * @param string $uid - * @param $backend + * @param \OC\User\Backend $backend * @return User */ - private function newUser($uid, $backend) { + private function newUser($uid, \OC\User\Backend $backend) { $config = $this->getMockBuilder('\OCP\IConfig') ->disableOriginalConstructor() ->getMock(); |