blob: 0253904430b0fdcd484d4040126d534a27ffd5fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
use Icinga\Module\Eventdb\Test\Bootstrap;
call_user_func(function () {
$basedir = dirname(__DIR__);
if (! class_exists('PHPUnit_Framework_TestCase')) {
require_once __DIR__ . '/phpunit-compat.php';
}
$include_path = $basedir . '/vendor' . PATH_SEPARATOR . ini_get('include_path');
ini_set('include_path', $include_path);
require_once $basedir . '/library/Eventdb/Test/Bootstrap.php';
Bootstrap::web($basedir);
});
|