Browse Source
Fix local execution
remotes/origin/stand-alone-job-executer
Joas Schilling
10 years ago
No known key found for this signature in database
GPG Key ID: 70A0B324C41C0946
2 changed files with
5 additions and
0 deletions
-
apps/dav/tests/unit/bootstrap.php
-
apps/dav/tests/unit/connector/sabre/directory.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(); |
|
|
|
@ -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 */ |
|
|
|
|