server/tests/bootstrap.php
2014-03-11 21:03:29 +01:00

14 lines
243 B
PHP

<?php
define('PHPUNIT_RUN', 1);
require_once __DIR__.'/../lib/base.php';
if(!class_exists('PHPUnit_Framework_TestCase')) {
require_once('PHPUnit/Autoload.php');
}
OC_Hook::clear();
OC_Log::$enabled = false;
OC_FileProxy::clearProxies();