Fix test paths

This commit is contained in:
Timothy Warren 2012-03-22 15:43:44 -04:00
parent b580935ce6
commit 4193f858c9

View File

@ -15,8 +15,8 @@
/** /**
* Unit test bootstrap - Using php simpletest * Unit test bootstrap - Using php simpletest
*/ */
define('BASE_DIR', '../');
define('TEST_DIR', dirname(__FILE__)); define('TEST_DIR', dirname(__FILE__));
define('BASE_DIR', str_replace(basename(TEST_DIR), '', TEST_DIR));
define('DS', DIRECTORY_SEPARATOR); define('DS', DIRECTORY_SEPARATOR);
// Include simpletest // Include simpletest