]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix local execution
authorJoas Schilling <nickvergessen@owncloud.com>
Wed, 25 May 2016 13:39:52 +0000 (15:39 +0200)
committerJoas Schilling <nickvergessen@owncloud.com>
Wed, 25 May 2016 14:09:18 +0000 (16:09 +0200)
apps/dav/tests/unit/bootstrap.php
apps/dav/tests/unit/connector/sabre/directory.php

index f6733bc7a3e52eb886542d7744eaf5bbdccf8781..375171ff8b3756dbec22e54121ed4803382f0b6a 100644 (file)
@@ -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();
index c4ddc38b3e18b245ab0bcc3cca324cf72f6ed92e..e25a82c4876ee851861535f7451b034f1d13023c 100644 (file)
@@ -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 */