parent
7903d44af9
commit
3d62b8fda2
|
@ -17,6 +17,11 @@ if (!defined('ICINGA_LIBDIR')) {
|
||||||
// This is needed to get the Zend Plugin loader working
|
// This is needed to get the Zend Plugin loader working
|
||||||
set_include_path(implode(PATH_SEPARATOR, array($libraryPath, get_include_path())));
|
set_include_path(implode(PATH_SEPARATOR, array($libraryPath, get_include_path())));
|
||||||
|
|
||||||
|
require_once 'Mockery/Loader.php';
|
||||||
|
require_once 'Hamcrest/Hamcrest.php';
|
||||||
|
$mockeryLoader = new \Mockery\Loader;
|
||||||
|
$mockeryLoader->register();
|
||||||
|
|
||||||
require_once($libraryPath . '/Icinga/Application/Loader.php');
|
require_once($libraryPath . '/Icinga/Application/Loader.php');
|
||||||
|
|
||||||
$loader = new Icinga\Application\Loader();
|
$loader = new Icinga\Application\Loader();
|
||||||
|
|
|
@ -28,4 +28,7 @@
|
||||||
<directory suffix=".php">/usr/lib</directory>
|
<directory suffix=".php">/usr/lib</directory>
|
||||||
</blacklist>
|
</blacklist>
|
||||||
</filter>
|
</filter>
|
||||||
|
<listeners>
|
||||||
|
<listener class="\Mockery\Adapter\Phpunit\TestListener"></listener>
|
||||||
|
</listeners>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|
Loading…
Reference in New Issue