diff options
Diffstat (limited to 'tests/lib/Group')
-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); |