Plo*_*tor 4 phpunit zend-framework
在更新phpunit之前一切正常,功能正常,assertRedirectTo()但更新后显示此错误:
宣言
Zend_Test_PHPUnit_Constraint_Redirect::evaluate()应与之相符PHPUnit_Framework_Constraint::evaluate()
谁能解释究竟发生了什么?
是的,我两天前也遇到过这个问题.但是在不幸的Zend Framework 1.x上不会支持PHPunit 3.6或更高版本:-(
所以最好的是你回到3.5这是Zend Framework支持的最新版本.
检查一下:
http://zendframework.com/issues/browse/ZF-11871
在这里,你可以阅读他们将proberly使ZF2支持3.6: http://zend-framework-community.634137.n4.nabble.com/Running-the-zend-unit-tests-with-the-phpunit-3-6- PHP的代码覆盖率-过滤-的getInstance-问题td4023996.html
| 归档时间: |
|
| 查看次数: |
1831 次 |
| 最近记录: |