aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/appframework/middleware/MiddlewareDispatcherTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/appframework/middleware/MiddlewareDispatcherTest.php')
-rw-r--r--tests/lib/appframework/middleware/MiddlewareDispatcherTest.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/lib/appframework/middleware/MiddlewareDispatcherTest.php b/tests/lib/appframework/middleware/MiddlewareDispatcherTest.php
index b1a58e21289..b1e221aab99 100644
--- a/tests/lib/appframework/middleware/MiddlewareDispatcherTest.php
+++ b/tests/lib/appframework/middleware/MiddlewareDispatcherTest.php
@@ -124,15 +124,9 @@ class MiddlewareDispatcherTest extends \PHPUnit_Framework_TestCase {
}
- private function getAPIMock(){
- return $this->getMock('OC\AppFramework\DependencyInjection\DIContainer',
- array('getAppName'), array('app'));
- }
-
-
private function getControllerMock(){
return $this->getMock('OCP\AppFramework\Controller', array('method'),
- array($this->getAPIMock(), new Request(array('method' => 'GET'))));
+ array('app', new Request(array('method' => 'GET'))));
}