blob: 5ebd3cb1b57716a583b34734f8ccd7d21b3cbb2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<?php
/**
* ownCloud - gallery
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
* @author Olivier Paroz <owncloud@interfasys.ch>
*
* @copyright Olivier Paroz 2015
*/
use Codeception\Util\Autoload;
define('PHPUNIT_RUN', 1);
require_once __DIR__ . '/../../../lib/base.php';
OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests');
OC::$loader->addValidRoot(__DIR__ . '/../');
Autoload::addNamespace('Test', '/../../../tests/lib');
// load minimum set of apps
OC_App::loadApps(['authentication']);
OC_App::loadApps(['filesystem', 'logging']);
OC_Hook::clear();
|