X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2Fsrc%2FCore%2FLock%2FSemaphoreLockTest.php;h=87d8b2cd2f59595eeed51422037e92a2f5caa01a;hb=c8344886fde31afe26c43669169ac1fc655eaba7;hp=dc7b9ee41994c29f6dc7ec8f0ba1cd688b503220;hpb=054c301ef0345c4ff9f35cfd08717757eab17b9d;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"); } /**