]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Core/Lock/SemaphoreLockTest.php
Merge pull request #8075 from annando/html-escaping
[friendica.git] / tests / src / Core / Lock / SemaphoreLockTest.php
index 51d3866fe719d0b2e979f6ec7556709b7d9326d7..089d891cab0dfebfcca32e2eb6187d2753f99634 100644 (file)
@@ -55,7 +55,7 @@ class SemaphoreLockTest extends LockTest
                touch($file);
 
                $this->assertTrue(file_exists($file));
-               $this->assertFalse($this->instance->releaseLock('test', false));
+               $this->assertFalse($this->instance->release('test', false));
                $this->assertTrue(file_exists($file));
        }
 
@@ -72,7 +72,7 @@ class SemaphoreLockTest extends LockTest
                touch($file);
 
                $this->assertTrue(file_exists($file));
-               $this->assertFalse($this->instance->releaseLock('test', true));
+               $this->assertFalse($this->instance->release('test', true));
                $this->assertTrue(file_exists($file));
        }
 
@@ -85,8 +85,8 @@ class SemaphoreLockTest extends LockTest
                touch($file);
 
                $this->assertTrue(file_exists($file));
-               $this->assertTrue($this->instance->acquireLock('test'));
+               $this->assertTrue($this->instance->acquire('test'));
                $this->assertTrue($this->instance->isLocked('test'));
-               $this->assertTrue($this->instance->releaseLock('test'));
+               $this->assertTrue($this->instance->release('test'));
        }
 }