Hello i have a problem with running behaviour test using GuzzleHttp. I’m new with circle and i’m not sure if i do something bad. On my localhost it works perfect but here it doesn’t. Here is error message:
When I send a "GET" request to "api/en/servicecategories/main" # AppBundle\Features\Context\RestApi::iSendARequestTo()
cURL error 7: Failed to connect to 127.0.0.1 port 80: Connection refused (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) (GuzzleHttp\Exception\ConnectException)
here is the whole screen: Curl error
and here is my circle.yml:
machine:
timezone:
Europe/Prague
php:
version: 7.0.4
dependencies:
cache_directories:
- vendor
pre:
- cp $HOME/$CIRCLE_PROJECT_REPONAME/app/config/parameters.yml.circle.dist $HOME/$CIRCLE_PROJECT_REPONAME/app/config/parameters.yml
database:
override:
- php app/console doctrine:migrations:migrate --no-interaction
- php app/console doctrine:fixtures:load --append
test:
override:
- php bin/behat