diff options
author | ctrlaltca <> | 2013-01-02 14:42:24 +0000 |
---|---|---|
committer | ctrlaltca <> | 2013-01-02 14:42:24 +0000 |
commit | edf2251aca60a970e822079d23933e5b70b26571 (patch) | |
tree | 366b6688efbb03f20f47268bea57859cea673c70 /buildscripts/phing/tasks/PradoTestTask.php | |
parent | 8e5f2510bd577e15095e46afc7d0ba6808549bf8 (diff) |
backported all related changes up to 3229 to branch/3.2
Diffstat (limited to 'buildscripts/phing/tasks/PradoTestTask.php')
-rw-r--r-- | buildscripts/phing/tasks/PradoTestTask.php | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/buildscripts/phing/tasks/PradoTestTask.php b/buildscripts/phing/tasks/PradoTestTask.php index cd2c87f8..a52e7c85 100644 --- a/buildscripts/phing/tasks/PradoTestTask.php +++ b/buildscripts/phing/tasks/PradoTestTask.php @@ -1,18 +1,13 @@ <?php require_once 'phing/Task.php'; -require_once 'phing/tasks/ext/phpunit2/PHPUnit2Task.php'; +require_once 'phing/tasks/ext/phpunit/PHPUnitTask.php'; +require 'PHPUnit/Autoload.php'; /** * Task to run PRADO unit tests */ -class PradoTestTask extends PHPUnit2Task +class PradoTestTask extends PHPUnitTask { - function init() - { - $phpunit2_path = realpath(dirname(__FILE__).'/../..'); - set_include_path(get_include_path().PATH_SEPARATOR.$phpunit2_path); - parent::init(); - } } ?>
\ No newline at end of file |