Fix local execution
This commit is contained in:
parent
d22aeb749d
commit
42ba61db04
|
@ -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();
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue