mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
20 lines
612 B
PHP
20 lines
612 B
PHP
<?php
|
|
|
|
/**
|
|
* Run before PHPUnit starts - common stuff for _all_ tests, like getting
|
|
* the autoloader.
|
|
* This file is automatically run once before starting.
|
|
*
|
|
* @link http://www.egroupware.org
|
|
* @author Nathan Gray
|
|
* @package
|
|
* @copyright (c) 2017 Nathan Gray
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
*/
|
|
|
|
// autoloader & check_load_extension
|
|
require_once realpath(__DIR__.'/../api/src/loader/common.php');
|
|
|
|
// Needed to let Cache work
|
|
$GLOBALS['egw_info']['server']['temp_dir'] = '/tmp';
|
|
$GLOBALS['egw_info']['server']['install_id'] = 'PHPUnit test'; |