2012-07-01 2 views
0

Я бегу сервер на Mandriva 2011 Apache 2.2.22
PHP 5.3.14
PHPUnit Версия 3.3.17
Селен Сервер 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. 

что я могу сделать, чтобы решить эту проблему?

ответ

0

Я только что обновил PHPUnit до v.3.6.11 от груши. И проблема решена.
Странно, что он не перенесен с мандровой репо.

Смежные вопросы