[icinga-checkins] icinga.org: icingaweb2/master: Use shipped Zend framework in the testsuite as well

git at icinga.org git at icinga.org
Thu Nov 27 11:39:04 CET 2014


Module: icingaweb2
Branch: master
Commit: 625fa4d738093a240ba4101e82c1901e47493312
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=625fa4d738093a240ba4101e82c1901e47493312

Author: Johannes Meyer <johannes.meyer at netways.de>
Date:   Thu Nov 27 11:37:02 2014 +0100

Use shipped Zend framework in the testsuite as well

---

 test/php/bootstrap.php |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/test/php/bootstrap.php b/test/php/bootstrap.php
index c2b3167..a7fa6c2 100644
--- a/test/php/bootstrap.php
+++ b/test/php/bootstrap.php
@@ -56,6 +56,13 @@ foreach ($modules as $module) {
 
 $loader->register();
 
+set_include_path(
+    implode(
+        PATH_SEPARATOR,
+        array($libraryPath . '/vendor', get_include_path())
+    )
+);
+
 require_once 'Zend/Loader/Autoloader.php';
 \Zend_Loader_Autoloader::getInstance();
 



More information about the icinga-checkins mailing list