diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2013-10-23 05:57:34 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2013-10-23 05:57:34 +0200 |
commit | ad017285e15b077bf0ca3457f05a7b082abea6b0 (patch) | |
tree | 56445784a888c80d163b190c0a1c73a6382971f9 /tests/lib/appframework/http/DispatcherTest.php | |
parent | 064fd5ae53b4f3384d040ddf2dcb648cc3c7445f (diff) | |
download | nextcloud-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.php | 4 |
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(); |