From cf6d408e7371a49445a17a5d8998ef5d628de7d2 Mon Sep 17 00:00:00 2001
From: mattab <matthieu.aubry@gmail.com>
Date: Thu, 1 May 2014 19:11:58 +1200
Subject: [PATCH] Adding PHPUnit to include path, maybe this helps?  refs #5031
 Error was https://travis-ci.org/piwik/piwik/jobs/24163923

---
 tests/PHPUnit/bootstrap.php | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/tests/PHPUnit/bootstrap.php b/tests/PHPUnit/bootstrap.php
index 48339f9010..b2d312b0d6 100644
--- a/tests/PHPUnit/bootstrap.php
+++ b/tests/PHPUnit/bootstrap.php
@@ -1,11 +1,4 @@
 <?php
-// Note to devs: In Phpstorm I had to manually set these here as PHPUnit is not init properly.
-// Uncomment and set manually the path to Piwik if you get the WARNING message in your IDE.
-//$_SERVER['REQUEST_URI'] = '/piwik-master/index.php';
-//$_SERVER['HTTP_HOST'] = 'localhost';
-
-use Piwik\Http;
-
 define('PIWIK_TEST_MODE', true);
 define('PIWIK_PRINT_ERROR_BACKTRACE', false);
 
@@ -23,6 +16,7 @@ if (!defined('PIWIK_INCLUDE_PATH')) {
 }
 if (!defined('PIWIK_INCLUDE_SEARCH_PATH')) {
     define('PIWIK_INCLUDE_SEARCH_PATH', get_include_path()
+        . PATH_SEPARATOR . PIWIK_INCLUDE_PATH . '/vendor'
         . PATH_SEPARATOR . PIWIK_INCLUDE_PATH . '/core'
         . PATH_SEPARATOR . PIWIK_INCLUDE_PATH . '/libs'
         . PATH_SEPARATOR . PIWIK_INCLUDE_PATH . '/plugins');
-- 
GitLab