nextcloud/tests/bootstrap.php

13 lines
233 B
PHP

<?php
global $RUNTIME_NOAPPS;
$RUNTIME_NOAPPS = true;
require_once __DIR__.'/../lib/base.php';
if(!class_exists('PHPUnit_Framework_TestCase')) {
require_once('PHPUnit/Autoload.php');
}
OC_Hook::clear();
OC_Log::$enabled = false;