我想用symfony2测试behat,mink和sahi
所以,在我的config_test.yml中我有
mink:
base_url: http://localhost/Symfony_Standard_2.0.15_2/symfony/web/app_test.php
default_session: symfony
sahi: ~
和test.feature
@mink:sahi
Scenario: Open page with products list and check it
Given I am on "/hello"
Then the response should contain "hello"
当我执行时我有这个
PHP致命错误:在C:\ wamp \中调用未定义的函数Buzz \ Client \ curl_init() WWW \ Symfony_Standard_2.0.15_2 \的Symfony \供应商\嗡嗡声\ LIB \巴兹\客户端\ AbstractCurl.p 第26行hp
请帮助我,答案 0 :(得分:1)
您的WAMP安装似乎没有启用cURL。 实际上,WAMP默认情况下不启用cURL。启用它的步骤如下: