diff --git a/src/Symfony/Component/Lock/Tests/LockTest.php b/src/Symfony/Component/Lock/Tests/LockTest.php index 1239ddba0f..38f8fc81af 100644 --- a/src/Symfony/Component/Lock/Tests/LockTest.php +++ b/src/Symfony/Component/Lock/Tests/LockTest.php @@ -18,6 +18,7 @@ use Symfony\Component\Lock\Exception\LockConflictedException; use Symfony\Component\Lock\Key; use Symfony\Component\Lock\Lock; use Symfony\Component\Lock\PersistingStoreInterface; +use Symfony\Component\Lock\StoreInterface; /** * @author Jérémy Derussé @@ -56,7 +57,7 @@ class LockTest extends TestCase public function testPassingOldStoreInterface() { $key = new Key(uniqid(__METHOD__, true)); - $store = $this->getMockBuilder(PersistingStoreInterface::class)->getMock(); + $store = $this->getMockBuilder(StoreInterface::class)->getMock(); $lock = new Lock($key, $store); $store