Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.0, 1.8.4
-
Fix Version/s: 1.10.0
-
Component/s: Zend_Test_PHPUnit
-
Labels:None
Description
Zend_Test_PHPUnit_ControllerTestCase is broken with PHPUnit 3.3.3 (most recent version) in revision 12333.
ControllerTestCase uses PHPUnit_Framework_TestCase::incrementAssertionCounter() in line 1099, but this method is not available any more with PHPUnit 3.3.3 (don't know in which version this was removed). The appropriate method in PHPUnit 3.3.3 is PHPUnit_Framework_TestCase::addToAssertionCount($count).
Fixed in r12372; now checks for PHPUnit version and calls appropriate method for that version.