icingaweb2-module-businessp.../test/bootstrap.php

17 lines
476 B
PHP
Raw Normal View History

2016-11-23 04:12:25 -05:00
<?php
use Icinga\Module\Businessprocess\Test\Bootstrap;
call_user_func(function () {
2016-11-23 04:12:25 -05:00
$basedir = dirname(__DIR__);
if (! class_exists('PHPUnit_Framework_TestCase')) {
require_once __DIR__ . '/phpunit-compat.php';
}
2018-03-20 10:19:57 -04:00
$include_path = $basedir . '/vendor' . PATH_SEPARATOR . ini_get('include_path');
ini_set('include_path', $include_path);
2016-11-23 04:12:25 -05:00
require_once $basedir . '/library/Businessprocess/Test/Bootstrap.php';
Bootstrap::cli($basedir);
});