mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-22 23:59:56 -05:00
16 lines
476 B
PHP
16 lines
476 B
PHP
<?php
|
|
|
|
use Icinga\Module\Businessprocess\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/Businessprocess/Test/Bootstrap.php';
|
|
Bootstrap::cli($basedir);
|
|
});
|