. */ /** * @author Roland Haeder */ // TODO: check include path //ini_set('include_path', ini_get('include_path')); // Bad and ugly: $_SERVER['argv'][1] = 'app=tests'; // Pre-run own tests require dirname(__DIR__) . '/index.php'; // Remove it to prevent leak to PHPUnit unset($_SERVER['argv'][1]); // For these unit tests, xdebug must be quieted a bit if (extension_loaded('xdebug')) { // Quiet it a bit as this interfers with the nice testing output ini_set('xdebug.show_exception_trace', FALSE); } // Autoload more stuff require dirname(__DIR__) . '/vendor/autoload.php'; // Quiet DNS resolver as this is not wanted here FrameworkBootstrap::getConfigurationInstance()->setConfigEntry('is_quiet_dns_resolver_enabled', TRUE);