UpdateFetcherTest::$mockHttpClient

Same name and namespace in other branches
  1. 9 core/modules/update/tests/src/Unit/UpdateFetcherTest.php \Drupal\Tests\update\Unit\UpdateFetcherTest::mockHttpClient
  2. 11.x core/modules/update/tests/src/Unit/UpdateFetcherTest.php \Drupal\Tests\update\Unit\UpdateFetcherTest::mockHttpClient

Mock HTTP client.

Type: \GuzzleHttp\ClientInterface

File

core/modules/update/tests/src/Unit/UpdateFetcherTest.php, line 46

Class

UpdateFetcherTest
Tests update functionality unrelated to the database.

Namespace

Drupal\Tests\update\Unit

Code

protected $mockHttpClient;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.