summaryrefslogtreecommitdiffstats
path: root/tests/bootstrap.php
blob: fb667263e45474a3dab4b0c2f26eaa4eee36f071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

global $RUNTIME_NOAPPS;
$RUNTIME_NOAPPS = true;

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;