I am using the book: "Agile Web Application Development with Yii 1.1 and PHP5" to get started with Yii.
While setting up my TDD environment and running my first test, the following warnings pop up:
sl@cker:/var/www/demo/protected/tests$ phpunit functional/SiteTest.php
PHPUnit 3.6.12 by Sebastian Bergmann.
Configuration read from /var/www/demo/protected/tests/phpunit.xml
PHP Warning: include(SiteTest: Firefox.php): failed to open stream: No such file or directory in /var/www/framework/YiiBase.php on line 423
PHP Warning: include(): Failed opening 'SiteTest: Firefox.php' for inclusion (include_path='.:/var/www/demo/protected/components:/var/www/demo/protected/models:/usr/share/php:/
usr/share/pear') in /var/www/framework/YiiBase.php on line 423
...PHP Warning: include(SiteTest: Firefox.php): failed to open stream: No such file or directory in /var/www/framework/YiiBase.php on line 423
PHP Warning: include(): Failed opening 'SiteTest: Firefox.php' for inclusion (include_path='.:/var/www/demo/protected/components:/var/www/demo/protected/models:/usr/share/php:/
usr/share/pear') in /var/www/framework/YiiBase.php on line 423
Time: 44 seconds, Memory: 8.25Mb
OK (3 tests, 10 assertions)
Does anyone know how I can fix this, or can I just ignore those warnings? The book doesn't say anything about a file named: Firefox.php
. The tests did run in Firefox though.
Extra info:
- PHP Version 5.3.10
- Platform: Ubuntu 12.04
- Server: Apache/2.2.22
- PHPUnit version: 3.6.12
- Selenium version: 2.25.0
- Yii version: v1.1.12
(all are the latest stable versions)