]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Console/LockConsoleTest.php
Just commit config transactions if something changed
[friendica.git] / tests / src / Console / LockConsoleTest.php
index 1f33be100e031e7876b111a3bef65a84fd5f81c9..29e2a90cb852238a8452d5936c1788e3ecae7ad2 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -24,7 +24,7 @@ namespace Friendica\Test\src\Console;
 use Friendica\App;
 use Friendica\App\Mode;
 use Friendica\Console\Lock;
-use Friendica\Core\Lock\ILock;
+use Friendica\Core\Lock\Capability\ICanLock;
 use Mockery;
 use Mockery\MockInterface;
 
@@ -36,7 +36,7 @@ class LockConsoleTest extends ConsoleTest
        private $appMode;
 
        /**
-        * @var ILock|MockInterface
+        * @var ICanLock|MockInterface
         */
        private $lockMock;
 
@@ -54,7 +54,7 @@ class LockConsoleTest extends ConsoleTest
                $this->appMode->shouldReceive('has')
                        ->andReturn(true);
 
-               $this->lockMock = Mockery::mock(ILock::class);
+               $this->lockMock = Mockery::mock(ICanLock::class);
        }
 
        public function testList()