X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fupdate%2Ftests%2Fsrc%2FUnit%2FUpdateFetcherTest.php;fp=web%2Fcore%2Fmodules%2Fupdate%2Ftests%2Fsrc%2FUnit%2FUpdateFetcherTest.php;h=61c767deda673e99aff5f4785083e523f7d39168;hp=c3e447d1fcfbf98e8f96620da7c4a18b0a0f6c77;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/update/tests/src/Unit/UpdateFetcherTest.php b/web/core/modules/update/tests/src/Unit/UpdateFetcherTest.php index c3e447d1f..61c767ded 100644 --- a/web/core/modules/update/tests/src/Unit/UpdateFetcherTest.php +++ b/web/core/modules/update/tests/src/Unit/UpdateFetcherTest.php @@ -28,7 +28,7 @@ class UpdateFetcherTest extends UnitTestCase { */ protected function setUp() { $config_factory = $this->getConfigFactoryStub(['update.settings' => ['fetch_url' => 'http://www.example.com']]); - $http_client_mock = $this->getMock('\GuzzleHttp\ClientInterface'); + $http_client_mock = $this->createMock('\GuzzleHttp\ClientInterface'); $this->updateFetcher = new UpdateFetcher($config_factory, $http_client_mock); }