summaryrefslogtreecommitdiffstats
path: root/tests/lib/appframework/http/DispatcherTest.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2013-10-23 05:57:34 +0200
committerThomas Tanghus <thomas@tanghus.net>2013-10-23 05:57:34 +0200
commitad017285e15b077bf0ca3457f05a7b082abea6b0 (patch)
tree56445784a888c80d163b190c0a1c73a6382971f9 /tests/lib/appframework/http/DispatcherTest.php
parent064fd5ae53b4f3384d040ddf2dcb648cc3c7445f (diff)
downloadnextcloud-server-ad017285e15b077bf0ca3457f05a7b082abea6b0.tar.gz
nextcloud-server-ad017285e15b077bf0ca3457f05a7b082abea6b0.zip
Fix namespace for OCP\Appframework\Http
To avoid having to use OCP\Appframework\Http\Http in the public - and stable - API OCP\Appframework\Http is now both a class and a namespace.
Diffstat (limited to 'tests/lib/appframework/http/DispatcherTest.php')
-rw-r--r--tests/lib/appframework/http/DispatcherTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/appframework/http/DispatcherTest.php b/tests/lib/appframework/http/DispatcherTest.php
index 9052fe0781a..6cf0da879ff 100644
--- a/tests/lib/appframework/http/DispatcherTest.php
+++ b/tests/lib/appframework/http/DispatcherTest.php
@@ -26,7 +26,7 @@ namespace OC\AppFramework\Http;
use OC\AppFramework\Core\API;
use OC\AppFramework\Middleware\MiddlewareDispatcher;
-
+use OCP\AppFramework\Http;
//require_once(__DIR__ . "/../classloader.php");
@@ -53,7 +53,7 @@ class DispatcherTest extends \PHPUnit_Framework_TestCase {
->disableOriginalConstructor()
->getMock();
$this->http = $this->getMockBuilder(
- '\OC\AppFramework\Http\Http')
+ '\OC\AppFramework\Http')
->disableOriginalConstructor()
->getMock();