lecterror/cakephp-filter-plugin — Issue #5: Testcases are not working
Author: nachtfisch
Created: 2012-02-15 11:07:04+00:00
State: open

Hello,

while trying to fix the belongsTo bug I realized that the testcases are not working. Here my environment:

cake 2.0.4
phpunit 3.6.4

Some errors are due to some changes in the framework, especially the function `expectError()` and trigger_error are apparently
not supported in this way anymore.

You can use `$this->setExpectedException('PHPUnit_Framework_Error');` instead, but I'm not so sure whether this would fit all test-cases.