X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2Fsrc%2FCore%2FLock%2FSemaphoreLockTest.php;h=87d8b2cd2f59595eeed51422037e92a2f5caa01a;hb=e6c054c27602a3acadac3c423273bdf748fcee27;hp=dc7b9ee41994c29f6dc7ec8f0ba1cd688b503220;hpb=befc2af5043a3afde251721c0d27df695db1bb7e;p=friendica.git diff --git a/tests/src/Core/Lock/SemaphoreLockTest.php b/tests/src/Core/Lock/SemaphoreLockTest.php index dc7b9ee419..87d8b2cd2f 100644 --- a/tests/src/Core/Lock/SemaphoreLockTest.php +++ b/tests/src/Core/Lock/SemaphoreLockTest.php @@ -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"); } /**