aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-05-25 15:39:52 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2016-05-25 16:09:18 +0200
commit42ba61db044f1d08e22089fbc3badafbc35d5ea4 (patch)
treea3ba68f5d0ca2f9230cd077e5d6a245e2d4ab3ff /apps/dav
parentd22aeb749d22590c4caf630fd390dabca6e2c724 (diff)
downloadnextcloud-server-42ba61db044f1d08e22089fbc3badafbc35d5ea4.tar.gz
nextcloud-server-42ba61db044f1d08e22089fbc3badafbc35d5ea4.zip
Fix local execution
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/tests/unit/bootstrap.php2
-rw-r--r--apps/dav/tests/unit/connector/sabre/directory.php3
2 files changed, 5 insertions, 0 deletions
diff --git a/apps/dav/tests/unit/bootstrap.php b/apps/dav/tests/unit/bootstrap.php
index f6733bc7a3e..375171ff8b3 100644
--- a/apps/dav/tests/unit/bootstrap.php
+++ b/apps/dav/tests/unit/bootstrap.php
@@ -28,6 +28,8 @@ if(!class_exists('PHPUnit_Framework_TestCase')) {
require_once('PHPUnit/Autoload.php');
}
+\OC::$composerAutoloader->addPsr4('Test\\', OC::$SERVERROOT . '/tests/lib/', true);
+
\OC_App::loadApp('dav');
OC_Hook::clear();
diff --git a/apps/dav/tests/unit/connector/sabre/directory.php b/apps/dav/tests/unit/connector/sabre/directory.php
index c4ddc38b3e1..e25a82c4876 100644
--- a/apps/dav/tests/unit/connector/sabre/directory.php
+++ b/apps/dav/tests/unit/connector/sabre/directory.php
@@ -26,6 +26,9 @@ namespace OCA\DAV\Tests\Unit\Connector\Sabre;
use OCP\Files\ForbiddenException;
+/**
+ * @group DB
+ */
class Directory extends \Test\TestCase {
/** @var \OC\Files\View | \PHPUnit_Framework_MockObject_MockObject */