summaryrefslogtreecommitdiffstats
path: root/tests/lib/appframework/controller/ControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/appframework/controller/ControllerTest.php')
-rw-r--r--tests/lib/appframework/controller/ControllerTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/appframework/controller/ControllerTest.php b/tests/lib/appframework/controller/ControllerTest.php
index 3bf63d714a0..ccc373f4d59 100644
--- a/tests/lib/appframework/controller/ControllerTest.php
+++ b/tests/lib/appframework/controller/ControllerTest.php
@@ -75,7 +75,8 @@ class ControllerTest extends \Test\TestCase {
'session' => ['sezession' => 'kein'],
'method' => 'hi',
],
- $this->getMockBuilder('\OCP\Security\ISecureRandom')->getMock()
+ $this->getMock('\OCP\Security\ISecureRandom'),
+ $this->getMock('\OCP\IConfig')
);
$this->app = $this->getMock('OC\AppFramework\DependencyInjection\DIContainer',