mirror of
https://github.com/friendica/friendica
synced 2025-02-25 20:38:13 +00:00
- fixed test for semaphore - fixed some issues - changed namespace in Tests back to "src/" - changed namings
26 lines
No EOL
473 B
PHP
26 lines
No EOL
473 B
PHP
<?php
|
|
|
|
namespace Friendica\Test\src\Core\Lock;
|
|
|
|
|
|
use Friendica\Core\Lock\SemaphoreLockDriver;
|
|
|
|
class SemaphoreLockDriverTest extends LockTest
|
|
{
|
|
/**
|
|
* @var \Friendica\Core\Lock\SemaphoreLockDriver
|
|
*/
|
|
private $semaphoreLockDriver;
|
|
|
|
protected function getInstance()
|
|
{
|
|
$this->semaphoreLockDriver = new SemaphoreLockDriver();
|
|
return $this->semaphoreLockDriver;
|
|
}
|
|
|
|
public function tearDown()
|
|
{
|
|
$this->semaphoreLockDriver->releaseAll();
|
|
parent::tearDown();
|
|
}
|
|
} |