MDL-23948 PHPUnit scripts are simply marked with define('PHPUNIT_SCRIPT', true) + simple require_once(dirname(dirname(dirname(__FILE__))).'/config.php');
MDL-23948 PHPUnit scripts are simply marked with define('PHPUNIT_SCRIPT', true) + simple require_once(dirname(dirname(dirname(__FILE__))).'/config.php');

dilawar/moodle