0
我上的Mandriva 2011 的Apache 2.2.22
PHP 5.3.14
PHPUnit的版本3.3.17
Selenium服務器2.24.2
的Yii 1.1.10
正在運行的服務器我把一些工作來我家看看,我不能老是運行標準的測試..BadMethodCallException:方法waitForTextPresent沒有定義
PHPUnit 3.3.17 by Sebastian Bergmann.
.EE
Time: 33 seconds
There were 2 errors:
1) testContact(SiteTest)
BadMethodCallException: Method waitForTextPresent not defined.
/home/user/server/hosts/cmf/www/framework/test/CWebTestCase.php:63
/home/user/server/hosts/cmf/www/protected/tests/functional/SiteTest.php:21
/home/user/server/hosts/cmf/www/protected/tests/functional/SiteTest.php:21
2) testLoginLogout(SiteTest)
BadMethodCallException: Method waitForTextPresent not defined.
/home/user/server/hosts/cmf/www/framework/test/CWebTestCase.php:63
/home/user/server/hosts/cmf/www/protected/tests/functional/SiteTest.php:36
/home/user/server/hosts/cmf/www/protected/tests/functional/SiteTest.php:36
FAILURES!
Tests: 3, Assertions: 4, Errors: 2.
我能做些什麼來解決這個問題?