blob: fb48c9ed6733ce5e2959af45a9c3ac188656106c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php
define('PHPUNIT_RUN', 1);
use Composer\Autoload\ClassLoader;
include_once __DIR__.'/vendor/autoload.php';
$serverPath = __DIR__ . '/../nextcloud';
include_once $serverPath.'/3rdparty/autoload.php';
require_once $serverPath. '/lib/base.php';
$classLoader = new ClassLoader();
$classLoader->addPsr4("OCP\\", $serverPath . '/lib/public', true);
$classLoader->addPsr4("OC\\", $serverPath . '/lib/private', true);
$classLoader->register();
|