Browse Source

Fix local execution

tags/v9.1.0beta1
Joas Schilling 8 years ago
parent
commit
42ba61db04
No account linked to committer's email address

+ 2
- 0
apps/dav/tests/unit/bootstrap.php 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();

+ 3
- 0
apps/dav/tests/unit/connector/sabre/directory.php 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 */

Loading…
Cancel
Save