PackageManagerKernelTestBase::$client
The mocked HTTP client that returns metadata about available updates.
We need to preserve this as a class property so that we can re-inject it into the container when a rebuild is triggered by module installation.
Type: \GuzzleHttp\Client
See also
::register()
File
-
core/
modules/ package_manager/ tests/ src/ Kernel/ PackageManagerKernelTestBase.php, line 64
Class
- PackageManagerKernelTestBase
- Base class for kernel tests of Package Manager's functionality.
Namespace
Drupal\Tests\package_manager\KernelCode
private $client;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.