mirror of
https://github.com/friendica/friendica
synced 2025-04-27 21:50:11 +00:00
The boot.php had been cleared of most functions
This commit is contained in:
parent
4989d1fa99
commit
63da4a75e9
37 changed files with 279 additions and 401 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue