添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to 127.0.0.1 port 8888:

I am having some issues when trying to run the unit testing

To Reproduce :

  • Go to the drupal installation root folder
  • execute: vendor/bin/phpunit --configuration ./tests/phpunit/phpunit.xml.dtt.dist
  • Errors: Drupal\Tests\PhpUnit\ExistingSite\ContentTest::testContent GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to 127.0.0.1 port 8888: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html )
  • Expected behavior :

    Running unit test

  • OS: IOS
  • Vagrant Box
  •