summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2016-04-26 16:19:10 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-21 11:29:54 +0100
commitde1f3f05fdb47b4cde9b8cde468d54cdc856ef08 (patch)
treeec9698e052c43ff9269bbede604c51dcb4e6fb7a /tests
parent1700e3dcccc4edbb48f583b055ba3fed539a8b42 (diff)
downloadnextcloud-server-de1f3f05fdb47b4cde9b8cde468d54cdc856ef08.tar.gz
nextcloud-server-de1f3f05fdb47b4cde9b8cde468d54cdc856ef08.zip
allow to change display names in the user settings again
keep display name and email address in sync with the accounts table Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/Settings/Controller/UsersControllerTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Settings/Controller/UsersControllerTest.php b/tests/Settings/Controller/UsersControllerTest.php
index 03c3a2e2ab4..e2b13b24b8c 100644
--- a/tests/Settings/Controller/UsersControllerTest.php
+++ b/tests/Settings/Controller/UsersControllerTest.php
@@ -2040,6 +2040,7 @@ class UsersControllerTest extends \Test\TestCase {
->expects($this->once())
->method('getUser')
->willReturn($user);
+
$this->userManager
->expects($this->once())
->method('get')