KP Solutions

Solutions for Day to Day Technical Problems

September 27, 2012
by Ketan Patel
1 Comment

CakePHP Test Failure with Error PHPUnit_Framework_AssertionFailedError::getComparisonFailure()

If you are using CakePHP 2.2 and are developing code with unit testing, then chances are you have stumbled on the error “Fatal error: Call to undefined method PHPUnit_Framework_AssertionFailedError::getComparisonFailure() in E:\…\lib\Cake\TestSuite\Reporter\CakeHtmlReporter.php on line 252” with no real useful message. Default … Continue reading