'10.7.5.31', //DEV1 'port' => ( getenv('SELENIUM_PORT') != '' ? getenv('SELENIUM_PORT') : '4444' ), //Default: 4444 'browser' => 'chrome', 'default_url' => 'https://mikeb.dev1.office.timetrex.com/timetrex/trunk/interface/html5/', 'default_timeout' => 30, ); //This prevent PHPUnit from creating a mock ADODB-lib class and causing a fatal error on redeclaration of its functions. //See for a possible fix? http://sebastian-bergmann.de/archives/797-Global-Variables-and-PHPUnit.html#content //Must use --no-globals-backup to get tests to run properly. $ADODB_INCLUDED_LIB = TRUE; require_once( Environment::getBasePath() . 'classes' . DIRECTORY_SEPARATOR . 'adodb' . DIRECTORY_SEPARATOR . 'adodb.inc.php' ); require_once( Environment::getBasePath() . 'classes' . DIRECTORY_SEPARATOR . 'adodb' . DIRECTORY_SEPARATOR . 'adodb-exceptions.inc.php' ); require_once( Environment::getBasePath() . 'classes' . DIRECTORY_SEPARATOR . 'adodb' . DIRECTORY_SEPARATOR . 'adodb-lib.inc.php' ); if ( PRODUCTION != FALSE ) { echo "DO NOT RUN ON A PRODUCTION SERVER
\n"; exit; } $profiler = new Profiler( TRUE ); TTi18n::setLocale(); //Initialize the locale, this prevents PHP warnings when using Translation2/HHVM. ?>