]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Core/Lock/SemaphoreLockTest.php
Merge pull request #10666 from tobiasd/20210905-credits
[friendica.git] / tests / src / Core / Lock / SemaphoreLockTest.php
index ce11ca5314abafad9702bc1f77a9b7144b5240f9..87d8b2cd2f59595eeed51422037e92a2f5caa01a 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -32,7 +32,7 @@ use Mockery\MockInterface;
 
 class SemaphoreLockTest extends LockTest
 {
-       protected function setUp()
+       protected function setUp(): void
        {
                /** @var MockInterface|Dice $dice */
                $dice = Mockery::mock(Dice::class)->makePartial();
@@ -59,10 +59,12 @@ class SemaphoreLockTest extends LockTest
                return new SemaphoreLock();
        }
 
+       /**
+        * @doesNotPerformAssertions
+        */
        public function testLockTTL()
        {
-               // Semaphore doesn't work with TTL
-               return true;
+               self::markTestSkipped("Semaphore doesn't work with TTL");
        }
 
        /**