diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-07-25 17:15:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-25 17:15:11 +0200 |
commit | 3faef644a103d739639327d9f73e03611634a9c3 (patch) | |
tree | c0da9dc391ad2656f871376bfd1a61c997a7ca71 /tests/lib | |
parent | 63676d3b24a9d60b3961150dee01fcdd30eb4d9c (diff) | |
parent | 89a7b007f2d388fe3aa666ec1be9a95fd71a08af (diff) | |
download | nextcloud-server-3faef644a103d739639327d9f73e03611634a9c3.tar.gz nextcloud-server-3faef644a103d739639327d9f73e03611634a9c3.zip |
Merge pull request #5864 from nextcloud/legacy_user
Remove legacy OC_User_Backend and OC_User_Interface
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); |