From 34982e3081f657a9374c2ee04bfe3a35226cd733 Mon Sep 17 00:00:00 2001 From: Arthur Portugal Date: Mon, 25 Jan 2010 15:43:57 -0500 Subject: [PATCH] minor - testing phing with simple test --- tests/test_suite.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/test_suite.php b/tests/test_suite.php index d08dd1b190..510bddc002 100644 --- a/tests/test_suite.php +++ b/tests/test_suite.php @@ -8,7 +8,11 @@ require_once 'simpletest/unit_tester.php'; require_once 'simpletest/web_tester.php'; require_once 'simpletest/autorun.php'; -$incdir = dirname(__FILE__).'/../main/inc/'; +//$incdir = dirname(__FILE__).'/../main/inc/'; + +$incdir = '../main/inc/'; + + //Need the ob start and clean else will show the objects require_once $incdir.'global.inc.php'; ob_start(); @@ -19,7 +23,7 @@ require_once $incdir.'tool_navigation_menu.inc.php'; require_once $incdir.'banner.inc.php'; ob_end_clean(); -$maindir = dirname(__FILE__).'/../main/'; +$maindir = '../main/'; //List of files than need the tests from chamilo require_once $maindir.'admin/calendar.lib.php'; require_once $maindir.'admin/statistics/statistics.lib.php';