The boot.php had been cleared of most functions

This commit is contained in:
Michael 2021-11-04 20:29:59 +00:00
parent 4989d1fa99
commit 63da4a75e9
37 changed files with 279 additions and 401 deletions

View file

@ -26,6 +26,7 @@ use Friendica\App;
use Friendica\Core\Config\Capability\IManageConfigValues;
use Friendica\Core\Config\Type\JitConfig;
use Friendica\Core\Lock\Type\SemaphoreLock;
use Friendica\Core\System;
use Friendica\DI;
use Mockery;
use Mockery\MockInterface;
@ -73,7 +74,7 @@ class SemaphoreLockTest extends LockTest
*/
public function testMissingFileNotOverriding()
{
$file = get_temppath() . '/test.sem';
$file = System::getTempPath() . '/test.sem';
touch($file);
self::assertTrue(file_exists($file));
@ -91,7 +92,7 @@ class SemaphoreLockTest extends LockTest
*/
public function testMissingFileOverriding()
{
$file = get_temppath() . '/test.sem';
$file = System::getTempPath() . '/test.sem';
touch($file);
self::assertTrue(file_exists($file));
@ -104,7 +105,7 @@ class SemaphoreLockTest extends LockTest
*/
public function testOverrideSemFile()
{
$file = get_temppath() . '/test.sem';
$file = System::getTempPath() . '/test.sem';
touch($file);
self::assertTrue(file_exists($file));