diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-25 15:39:52 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-25 16:09:18 +0200 |
commit | 42ba61db044f1d08e22089fbc3badafbc35d5ea4 (patch) | |
tree | a3ba68f5d0ca2f9230cd077e5d6a245e2d4ab3ff /apps/dav | |
parent | d22aeb749d22590c4caf630fd390dabca6e2c724 (diff) | |
download | nextcloud-server-42ba61db044f1d08e22089fbc3badafbc35d5ea4.tar.gz nextcloud-server-42ba61db044f1d08e22089fbc3badafbc35d5ea4.zip |
Fix local execution
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/tests/unit/bootstrap.php | 2 | ||||
-rw-r--r-- | apps/dav/tests/unit/connector/sabre/directory.php | 3 |
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 */ |