summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/tests/Controller/GroupsControllerTest.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-06-23 08:45:01 +0200
committerJoas Schilling <coding@schilljs.com>2020-07-03 10:59:43 +0200
commitdb8267db26e2e81ef4a39b424c5a8ea7bc124bfd (patch)
tree0d63e8dd40150166639f84083bfaf37cd9c52077 /apps/provisioning_api/tests/Controller/GroupsControllerTest.php
parentb997edad105d38703351b89998444ab0828f7d05 (diff)
downloadnextcloud-server-db8267db26e2e81ef4a39b424c5a8ea7bc124bfd.tar.gz
nextcloud-server-db8267db26e2e81ef4a39b424c5a8ea7bc124bfd.zip
Use the new method everywhere
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/provisioning_api/tests/Controller/GroupsControllerTest.php')
-rw-r--r--apps/provisioning_api/tests/Controller/GroupsControllerTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/provisioning_api/tests/Controller/GroupsControllerTest.php b/apps/provisioning_api/tests/Controller/GroupsControllerTest.php
index 3496d445ad1..367a54465bc 100644
--- a/apps/provisioning_api/tests/Controller/GroupsControllerTest.php
+++ b/apps/provisioning_api/tests/Controller/GroupsControllerTest.php
@@ -41,6 +41,7 @@ use OCP\IRequest;
use OCP\IUser;
use OCP\IUserManager;
use OCP\IUserSession;
+use OCP\L10N\IFactory;
use OCP\UserInterface;
class GroupsControllerTest extends \Test\TestCase {
@@ -75,6 +76,7 @@ class GroupsControllerTest extends \Test\TestCase {
$this->groupManager = $this->createMock(Manager::class);
$this->userSession = $this->createMock(IUserSession::class);
$this->accountManager = $this->createMock(AccountManager::class);
+ $this->l10nFactory = $this->createMock(IFactory::class);
$this->logger = $this->createMock(ILogger::class);
$this->subAdminManager = $this->createMock(SubAdmin::class);
@@ -92,6 +94,7 @@ class GroupsControllerTest extends \Test\TestCase {
$this->groupManager,
$this->userSession,
$this->accountManager,
+ $this->l10nFactory,
$this->logger
])
->setMethods(['fillStorageInfo'])