【发布时间】:2013-08-25 05:19:01
【问题描述】:
我正在尝试按照本教程将 phpunit 版本更改为 3.5 http://dustyreagan.com/downgrade-phpunit-3-6-to-3-5-15/
似乎安装了正确的文件,但我收到类似的错误
root@gerard:/home/gerard/sites/zf# phpunit /var/www/tests/unittests.php
PHPUnit 3.7.24 by Sebastian Bergmann.
.PHP Fatal error: Call to undefined method RemoteConnectTest::hasPerformedExpectationsOnOutput() in phar:///usr/local/bin/phpunit/PHPUnit/TextUI/ResultPrinter.php on line 628
&&
root@gerard:/home/gerard/sites/zf# phpunit --version
PHPUnit 3.7.24 by Sebastian Bergmann.
//显示错误的版本
正确的文件似乎都安装在 /usr/share/php/PHPUnit /usr/share/php/PHPUnit/Runner/Version.php 中显示的版本是“Sebastian Bergmann 的 PHPUnit 3.5.15。”
谢谢
【问题讨论】:
标签: php unit-testing zend-framework phpunit pear