diff --git a/core/tests/Drupal/BuildTests/Framework/BuildTestBase.php b/core/tests/Drupal/BuildTests/Framework/BuildTestBase.php index cddc6d58274ecda47f2156b6652d598836d0069a..cdd138cfcdeadd14803f7b5e5f51cf9cd3b58ee4 100644 --- a/core/tests/Drupal/BuildTests/Framework/BuildTestBase.php +++ b/core/tests/Drupal/BuildTests/Framework/BuildTestBase.php @@ -12,7 +12,7 @@ use Symfony\Component\BrowserKit\Client as SymfonyClient; use Symfony\Component\Filesystem\Filesystem as SymfonyFilesystem; use Symfony\Component\Finder\Finder; -use Symfony\Component\Lock\Factory; +use Symfony\Component\Lock\LockFactory; use Symfony\Component\Lock\Store\FlockStore; use Symfony\Component\Process\PhpExecutableFinder; use Symfony\Component\Process\Process; @@ -465,7 +465,7 @@ protected function stopServer() { */ protected function findAvailablePort() { $store = new FlockStore(DrupalFilesystem::getOsTemporaryDirectory()); - $lock_factory = new Factory($store); + $lock_factory = new LockFactory($store); $counter = 100; while ($counter--) {