use Friendica\Core\Lock\SemaphoreLockDriver;
-/**
- * @runTestsInSeparateProcesses
- * @preserveGlobalState disabled
- */
class SemaphoreLockDriverTest extends LockTest
{
public function setUp()
parent::setUp();
$this->app->shouldReceive('getHostname')->andReturn('friendica.local');
- $this->mockConfigGet('system', 'temppath', '/tmp/');
+
+ $this->configMock
+ ->shouldReceive('get')
+ ->with('system', 'temppath')
+ ->andReturn('/tmp/');
}
protected function getInstance()