summaryrefslogtreecommitdiffstats
path: root/tests/lib/user
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-05-19 10:33:12 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2016-05-19 10:33:12 +0200
commitbae4118b4fe08c22cf3a12236705d09423a37b8b (patch)
tree1bd8187f97d918554a135c5cf51e03c760c670ac /tests/lib/user
parent320b1c3abf28b7770661d0dd8dbbdda356022b4b (diff)
downloadnextcloud-server-bae4118b4fe08c22cf3a12236705d09423a37b8b.tar.gz
nextcloud-server-bae4118b4fe08c22cf3a12236705d09423a37b8b.zip
Fix renamed class
Diffstat (limited to 'tests/lib/user')
-rw-r--r--tests/lib/user/user.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/user/user.php b/tests/lib/user/user.php
index 0a972f7bdaa..71be3691003 100644
--- a/tests/lib/user/user.php
+++ b/tests/lib/user/user.php
@@ -121,7 +121,7 @@ class User extends \Test\TestCase {
* @var \OC\User\Backend | \PHPUnit_Framework_MockObject_MockObject $backend
*/
require_once 'avataruserdummy.php';
- $backend = $this->getMock('Avatar_User_Dummy');
+ $backend = $this->getMock('Test\User\AvatarUserDummy');
$backend->expects($this->once())
->method('canChangeAvatar')
->with($this->equalTo('foo'))
@@ -146,7 +146,7 @@ class User extends \Test\TestCase {
* @var \OC\User\Backend | \PHPUnit_Framework_MockObject_MockObject $backend
*/
require_once 'avataruserdummy.php';
- $backend = $this->getMock('Avatar_User_Dummy');
+ $backend = $this->getMock('Test\User\AvatarUserDummy');
$backend->expects($this->once())
->method('canChangeAvatar')
->with($this->equalTo('foo'))
@@ -171,7 +171,7 @@ class User extends \Test\TestCase {
* @var \OC\User\Backend | \PHPUnit_Framework_MockObject_MockObject $backend
*/
require_once 'avataruserdummy.php';
- $backend = $this->getMock('Avatar_User_Dummy');
+ $backend = $this->getMock('Test\User\AvatarUserDummy');
$backend->expects($this->never())
->method('canChangeAvatar');