From 00bcbd45d161f601cd7aea29998291356274cd9b Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 16 Apr 2012 09:22:39 +0200 Subject: [PATCH] Try to fix phpunit error --- test/phpunit/CoreTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/test/phpunit/CoreTest.php b/test/phpunit/CoreTest.php index 7ca6b78856b..24101beedbe 100755 --- a/test/phpunit/CoreTest.php +++ b/test/phpunit/CoreTest.php @@ -26,6 +26,7 @@ global $conf,$user,$langs,$db; //define('TEST_DB_FORCE_TYPE','mysql'); // This is to force using mysql driver require_once 'PHPUnit/Autoload.php'; +require_once dirname(__FILE__).'/../../htdocs/master.inc.php'; if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1');