Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / update / tests / src / Unit / UpdateFetcherTest.php
index c3e447d1fcfbf98e8f96620da7c4a18b0a0f6c77..61c767deda673e99aff5f4785083e523f7d39168 100644 (file)
@@ -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);
   }