summaryrefslogtreecommitdiffstats
path: root/tests/Core/Controller/ChangePasswordControllerTest.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-07-19 18:28:06 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-01 08:20:15 +0200
commitc25e782dd6c85a29a39b18fddc3946fc1528a810 (patch)
treeab76c8f36336ba959dea7f0b47f549bdca04d3e3 /tests/Core/Controller/ChangePasswordControllerTest.php
parente1da8a769bd25a8542109383e20565d6792a7299 (diff)
downloadnextcloud-server-c25e782dd6c85a29a39b18fddc3946fc1528a810.tar.gz
nextcloud-server-c25e782dd6c85a29a39b18fddc3946fc1528a810.zip
Fix settings/Controller/
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'tests/Core/Controller/ChangePasswordControllerTest.php')
-rw-r--r--tests/Core/Controller/ChangePasswordControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Core/Controller/ChangePasswordControllerTest.php b/tests/Core/Controller/ChangePasswordControllerTest.php
index c426bae9974..ea3abb58e2f 100644
--- a/tests/Core/Controller/ChangePasswordControllerTest.php
+++ b/tests/Core/Controller/ChangePasswordControllerTest.php
@@ -50,9 +50,9 @@ class ChangePasswordControllerTest extends \Test\TestCase {
public function setUp() {
parent::setUp();
- $this->userManager = $this->createMock(IUserManager::class);
+ $this->userManager = $this->createMock(\OC\User\Manager::class);
$this->userSession = $this->createMock(Session::class);
- $this->groupManager = $this->createMock(IGroupManager::class);
+ $this->groupManager = $this->createMock(\OC\Group\Manager::class);
$this->appManager = $this->createMock(IAppManager::class);
$this->l = $this->createMock(IL10N::class);
$this->l->method('t')->will($this->returnArgument(0));