Welcome to mirror list, hosted at ThFree Co, Russian Federation.

bootstrap.php « tests - github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9762334f11956926bf895abcaff01e76efcb9b76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

if (!defined('PHPUNIT_RUN')) {
    define('PHPUNIT_RUN', 1);
}

require_once __DIR__.'/../../../lib/base.php';

\OC::$loader->addValidRoot(OC::$SERVERROOT.'/tests');
\OC_App::loadApp('ransomware_detection');

if (!class_exists('\PHPUnit\Framework\TestCase')) {
    require_once 'PHPUnit/Autoload.php';
}

OC_Hook::clear();