1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00
OwncloudContactsOfficial/tests/bootstrap.php
2013-10-01 19:15:21 +02:00

20 lines
332 B
PHP

<?php
global $RUNTIME_NOAPPS;
$RUNTIME_NOAPPS = true;
if(!defined('PHPUNIT_RUN')) {
define('PHPUNIT_RUN', 1);
}
require_once __DIR__.'/../../core/lib/base.php';
if(!class_exists('PHPUnit_Framework_TestCase')) {
require_once('PHPUnit/Autoload.php');
}
//OC_App::enable('contacts');
OC_Hook::clear();
OC_Log::$enabled = true;