Behat/Mink — Issue #159: Tests will not run when TLD is ".biz"
Author: markct
Created: 2012-01-02 18:21:46+00:00
State: open

Today I installed Behat 2.2.0, Mink 1.3.2, and PHPUnit 3.6.6 via PEAR.

I am running Mink through Behat. When the base_url domain ends in ".com" the tests run as expected. When the base_url domain ends in ".biz" I get the following:

PHP Warning: include(Hostname/Biz.php): failed to open stream: No such file or directory in /usr/share/pear/mink/vendor/zendframework/zend-validator/php/Zend/Validator/Hostname.php on line 589

I was able to resolve the issue by finding a copy of Biz.php from elsewhere and placing it in Zend/Validator/Hostname folder.

Since PEAR seems to be the recommended method for installation, I would expect it to work correctly when I install with PEAR, without any undocumented hacks.