X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2Fsrc%2FCore%2FLock%2FSemaphoreLockDriverTest.php;h=a37fbffbed24c86a7076fd060216e50b751a84cd;hb=f4ec7c47b921209b5ff7906bee8aba9db326d0cb;hp=58daa3516cba633f45ffa9edaaf9accf709a672b;hpb=deaecfaf790b4e7942dac753efe5eab9caf3c8dc;p=friendica.git diff --git a/tests/src/Core/Lock/SemaphoreLockDriverTest.php b/tests/src/Core/Lock/SemaphoreLockDriverTest.php index 58daa3516c..a37fbffbed 100644 --- a/tests/src/Core/Lock/SemaphoreLockDriverTest.php +++ b/tests/src/Core/Lock/SemaphoreLockDriverTest.php @@ -4,10 +4,6 @@ namespace Friendica\Test\src\Core\Lock; use Friendica\Core\Lock\SemaphoreLockDriver; -/** - * @runTestsInSeparateProcesses - * @preserveGlobalState disabled - */ class SemaphoreLockDriverTest extends LockTest { public function setUp() @@ -15,7 +11,11 @@ class SemaphoreLockDriverTest extends LockTest 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()