richdocuments/tests/bootstrap.php
Victor Dubiniuk 61d2a6cb6f Fix test
2015-09-18 01:03:28 +03:00

14 lines
256 B
PHP

<?php
if (!defined('PHPUNIT_RUN')) {
define('PHPUNIT_RUN', 1);
}
require_once __DIR__.'/../../../lib/base.php';
if(!class_exists('PHPUnit_Framework_TestCase')) {
require_once('PHPUnit/Autoload.php');
}
\OC_App::loadApp('documents');
OC_Hook::clear();