From aeb89947a2bddb1db10426538afaccdc141c059e Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Mon, 18 Jan 2016 20:27:43 +0100 Subject: Introduce IUser::setEMailAddress and add hook mechanism --- tests/lib/user/user.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/lib/user') diff --git a/tests/lib/user/user.php b/tests/lib/user/user.php index 1f613edc4e6..a8d688d9c88 100644 --- a/tests/lib/user/user.php +++ b/tests/lib/user/user.php @@ -342,7 +342,8 @@ class User extends \Test\TestCase { $backend->expects($this->once()) ->method('setDisplayName') - ->with('foo','Foo'); + ->with('foo','Foo') + ->willReturn(true); $user = new \OC\User\User('foo', $backend); $this->assertTrue($user->setDisplayName('Foo')); -- cgit v1.2.3