]> 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 aa7f62835cf2a3e13d045b13103018b58e0d021c..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,11 +36,11 @@ class LockConsoleTest extends ConsoleTest
        private $appMode;
 
        /**
-        * @var ILock|MockInterface
+        * @var ICanLock|MockInterface
         */
        private $lockMock;
 
-       protected function setUp()
+       protected function setUp() : void
        {
                parent::setUp();
 
@@ -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()