Fix renamed class
This commit is contained in:
parent
320b1c3abf
commit
bae4118b4f
1 changed files with 3 additions and 3 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in a new issue