while trying to fix the belongsTo bug I realized that the testcases are not working. Here my environment:
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.
Hi nachtfisch, thanks for taking interest in helping with the plugin.
I will check this out as soon as I can, I'll be on a trip for a while so it will have to wait a bit..
Finally got a chance to take a look at this, and it seems like my PHPUnit version is a bit elderly. No cake errors though. I'll try to update my PHPUnit and investigate some more in the following days.
fixed exception handling in unit tests (fixes #5)