Fix local execution

This commit is contained in:
Joas Schilling 2016-05-25 15:39:52 +02:00
parent d22aeb749d
commit 42ba61db04
No known key found for this signature in database
GPG Key ID: 70A0B324C41C0946
2 changed files with 5 additions and 0 deletions

View 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();

View 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 */