diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2013-10-11 10:07:57 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2013-10-11 10:07:57 +0200 |
commit | d75d80ba133c40ec519422db85f1493cbdc9edeb (patch) | |
tree | 31bebc9e6c5fc38bdac1a42f381a68454f92814f /tests/lib/appframework/middleware/security/SecurityMiddlewareTest.php | |
parent | 053b55721d69a54b8d9460868d9e6f3edc606271 (diff) | |
download | nextcloud-server-d75d80ba133c40ec519422db85f1493cbdc9edeb.tar.gz nextcloud-server-d75d80ba133c40ec519422db85f1493cbdc9edeb.zip |
OCP\AppFramework\Controller\Controller => OCP\AppFramework\Controller
Diffstat (limited to 'tests/lib/appframework/middleware/security/SecurityMiddlewareTest.php')
-rw-r--r-- | tests/lib/appframework/middleware/security/SecurityMiddlewareTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/appframework/middleware/security/SecurityMiddlewareTest.php b/tests/lib/appframework/middleware/security/SecurityMiddlewareTest.php index b647c01826b..4bfd725ffd0 100644 --- a/tests/lib/appframework/middleware/security/SecurityMiddlewareTest.php +++ b/tests/lib/appframework/middleware/security/SecurityMiddlewareTest.php @@ -40,7 +40,7 @@ class SecurityMiddlewareTest extends \PHPUnit_Framework_TestCase { public function setUp() { $api = $this->getMock('OC\AppFramework\DependencyInjection\DIContainer', array(), array('test')); - $this->controller = $this->getMock('OCP\AppFramework\Controller\Controller', + $this->controller = $this->getMock('OCP\AppFramework\Controller', array(), array($api, new Request())); $this->request = new Request(); @@ -302,7 +302,7 @@ class SecurityMiddlewareTest extends \PHPUnit_Framework_TestCase { $api->expects($this->once())->method('getServer') ->will($this->returnValue($serverMock)); - $this->controller = $this->getMock('OCP\AppFramework\Controller\Controller', + $this->controller = $this->getMock('OCP\AppFramework\Controller', array(), array($api, new Request())); $this->request = new Request( |