diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-07-24 21:42:55 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-07-24 21:42:55 +0300 |
commit | b930f32e89a0f890ebda449ab3d37952f9a4317e (patch) | |
tree | ac352343a3d1b12452db21f150f49c46f40dfc23 /tests/lib | |
parent | 5dc480a38c3755330cda99915a54f72d46df4885 (diff) |
Remove legacy OC_User_Backend and OC_User_Interface
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib')
-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 fcf6e9d6292..c1824566733 100644 --- a/tests/lib/Group/GroupTest.php +++ b/tests/lib/Group/GroupTest.php @@ -130,7 +130,7 @@ class GroupTest extends \Test\TestCase { ->disableOriginalConstructor() ->getMock(); $userManager = $this->getUserManager(); - $userBackend = $this->getMockBuilder('\OC_User_Backend') + $userBackend = $this->getMockBuilder(\OC\User\Backend::class) ->disableOriginalConstructor() ->getMock(); $group = new \OC\Group\Group('group1', array($backend1, $backend2), $userManager); @@ -227,7 +227,7 @@ class GroupTest extends \Test\TestCase { ->disableOriginalConstructor() ->getMock(); $userManager = $this->getUserManager(); - $userBackend = $this->getMockBuilder('\OC_User_Backend') + $userBackend = $this->getMockBuilder(\OC\User\Backend::class) ->disableOriginalConstructor() ->getMock(); $group = new \OC\Group\Group('group1', array($backend), $userManager); |