summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-14 14:57:23 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-16 13:17:12 +0200
commit8fa59033acc04a6888d08c68fc3b707d1334d7f2 (patch)
tree211d3083f80e9951c6b4cb9cc72552b6e8c896a1
parent2ff55560e21874ce4d3c724db20a6ebd86e65221 (diff)
downloadnextcloud-server-8fa59033acc04a6888d08c68fc3b707d1334d7f2.tar.gz
nextcloud-server-8fa59033acc04a6888d08c68fc3b707d1334d7f2.zip
Fix uni tests
-rw-r--r--apps/dav/tests/unit/connector/sabre/requesttest/auth.php2
-rw-r--r--apps/dav/tests/unit/connector/sabre/requesttest/downloadtest.php (renamed from tests/lib/connector/sabre/requesttest/downloadtest.php)4
-rw-r--r--apps/dav/tests/unit/connector/sabre/requesttest/encryptionuploadtest.php (renamed from tests/lib/connector/sabre/requesttest/encryptionuploadtest.php)2
-rw-r--r--apps/dav/tests/unit/connector/sabre/requesttest/exceptionplugin.php2
-rw-r--r--apps/dav/tests/unit/connector/sabre/requesttest/requesttest.php2
-rw-r--r--apps/dav/tests/unit/connector/sabre/requesttest/sapi.php2
-rw-r--r--apps/dav/tests/unit/connector/sabre/requesttest/uploadtest.php2
7 files changed, 8 insertions, 8 deletions
diff --git a/apps/dav/tests/unit/connector/sabre/requesttest/auth.php b/apps/dav/tests/unit/connector/sabre/requesttest/auth.php
index 7cab4da5264..41b554d11db 100644
--- a/apps/dav/tests/unit/connector/sabre/requesttest/auth.php
+++ b/apps/dav/tests/unit/connector/sabre/requesttest/auth.php
@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
-namespace Test\Connector\Sabre\RequestTest;
+namespace OCA\DAV\Tests\Unit\Connector\Sabre\RequestTest;
use Sabre\DAV\Auth\Backend\BackendInterface;
diff --git a/tests/lib/connector/sabre/requesttest/downloadtest.php b/apps/dav/tests/unit/connector/sabre/requesttest/downloadtest.php
index 67dd9f52308..245deff3b31 100644
--- a/tests/lib/connector/sabre/requesttest/downloadtest.php
+++ b/apps/dav/tests/unit/connector/sabre/requesttest/downloadtest.php
@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
-namespace Test\Connector\Sabre\RequestTest;
+namespace OCA\DAV\Tests\Unit\Connector\Sabre\RequestTest;
use OCP\AppFramework\Http;
use OCP\Lock\ILockingProvider;
@@ -24,7 +24,7 @@ class DownloadTest extends RequestTest {
}
/**
- * @expectedException \OC\Connector\Sabre\Exception\FileLocked
+ * @expectedException \OCA\DAV\Connector\Sabre\Exception\FileLocked
*/
public function testDownloadWriteLocked() {
$user = $this->getUniqueID();
diff --git a/tests/lib/connector/sabre/requesttest/encryptionuploadtest.php b/apps/dav/tests/unit/connector/sabre/requesttest/encryptionuploadtest.php
index f1849c94760..ed1d6046d75 100644
--- a/tests/lib/connector/sabre/requesttest/encryptionuploadtest.php
+++ b/apps/dav/tests/unit/connector/sabre/requesttest/encryptionuploadtest.php
@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
-namespace Test\Connector\Sabre\RequestTest;
+namespace OCA\DAV\Tests\Unit\Connector\Sabre\RequestTest;
use OC\Files\View;
use Test\Traits\EncryptionTrait;
diff --git a/apps/dav/tests/unit/connector/sabre/requesttest/exceptionplugin.php b/apps/dav/tests/unit/connector/sabre/requesttest/exceptionplugin.php
index 606b5a27984..53cd186bbc8 100644
--- a/apps/dav/tests/unit/connector/sabre/requesttest/exceptionplugin.php
+++ b/apps/dav/tests/unit/connector/sabre/requesttest/exceptionplugin.php
@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
-namespace Test\Connector\Sabre\RequestTest;
+namespace OCA\DAV\Tests\Unit\Connector\Sabre\RequestTest;
use Sabre\DAV\Exception;
diff --git a/apps/dav/tests/unit/connector/sabre/requesttest/requesttest.php b/apps/dav/tests/unit/connector/sabre/requesttest/requesttest.php
index 4e1bc16819c..d90cf6e19bc 100644
--- a/apps/dav/tests/unit/connector/sabre/requesttest/requesttest.php
+++ b/apps/dav/tests/unit/connector/sabre/requesttest/requesttest.php
@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
-namespace Test\Connector\Sabre\RequestTest;
+namespace OCA\DAV\Tests\Unit\Connector\Sabre\RequestTest;
use OCA\DAV\Connector\Sabre\Server;
use OCA\DAV\Connector\Sabre\ServerFactory;
diff --git a/apps/dav/tests/unit/connector/sabre/requesttest/sapi.php b/apps/dav/tests/unit/connector/sabre/requesttest/sapi.php
index cda9fdb70f5..3af94010288 100644
--- a/apps/dav/tests/unit/connector/sabre/requesttest/sapi.php
+++ b/apps/dav/tests/unit/connector/sabre/requesttest/sapi.php
@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
-namespace Test\Connector\Sabre\RequestTest;
+namespace OCA\DAV\Tests\Unit\Connector\Sabre\RequestTest;
use Sabre\HTTP\Request;
use Sabre\HTTP\Response;
diff --git a/apps/dav/tests/unit/connector/sabre/requesttest/uploadtest.php b/apps/dav/tests/unit/connector/sabre/requesttest/uploadtest.php
index 8f39aff81b9..9a067f230a3 100644
--- a/apps/dav/tests/unit/connector/sabre/requesttest/uploadtest.php
+++ b/apps/dav/tests/unit/connector/sabre/requesttest/uploadtest.php
@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
-namespace Test\Connector\Sabre\RequestTest;
+namespace OCA\DAV\Tests\Unit\Connector\Sabre\RequestTest;
use OC\AppFramework\Http;