Fix test paths
This commit is contained in:
parent
b580935ce6
commit
4193f858c9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user