From 42aebe50afaf05cea1576ff8d6f3df107f62d7ba Mon Sep 17 00:00:00 2001 From: Albert Santoni Date: Wed, 18 Dec 2013 16:42:32 -0500 Subject: [PATCH] CC-5651: Unit Test the Scheduler * README.txt update for unit tests --- airtime_mvc/tests/README.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/airtime_mvc/tests/README.txt b/airtime_mvc/tests/README.txt index 9034b2977..9489d7c6d 100644 --- a/airtime_mvc/tests/README.txt +++ b/airtime_mvc/tests/README.txt @@ -1,7 +1,7 @@ To get the Airtime unit tests running: ========================== -1) Install PHPUnit and DbUnit +1) Install PHPUnit We explicitly install PHPUnit 3.4 because that's as a new of a version as is supported by Zend Framework 1: @@ -10,8 +10,13 @@ sudo pear channel-discover pear.phpunit.de sudo pear channel-discover pear.symfony.com sudo pear channel-discover pear.symfony-project.com sudo pear install channel://pear.symfony-project.com/YAML -sudo pear install pear.phpunit.de/PHPUnit-3.4.15 -sudo pear install pear.phpunit.de/DbUnit-1.0.3 +sudo pear install pear.phpunit.de/PHPUnit-3.4.10 + + +DO NOT INSTALL the DbUnit package! +DbUnit overwrites a file that's actually part of the PHPUnit package, + /usr/share/php/PHPUnit/Extensions/Database/DataSet/QueryTable.php +with a version that's incompatible and gives an error for us.