You are here

private property AutomaticUpdatesKernelTestBase::$client in Automatic Updates 8.2

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

tests/src/Kernel/AutomaticUpdatesKernelTestBase.php, line 36

Class

AutomaticUpdatesKernelTestBase
Base class for kernel tests of the Automatic Updates module.

Namespace

Drupal\Tests\automatic_updates\Kernel

Code

private $client;