mirror of
https://github.com/friendica/friendica
synced 2024-12-22 08:00:16 +00:00
Rename AbstractLoggerTest to LoggerTestCase
This commit is contained in:
parent
75632a1490
commit
b09fb1047f
5 changed files with 8 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
|||
//
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
namespace Friendica\Test\src\Core\Logger;
|
||||
namespace Friendica\Test;
|
||||
|
||||
trait LoggerDataTrait
|
||||
{
|
|
@ -5,7 +5,7 @@
|
|||
//
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
namespace Friendica\Test\src\Core\Logger;
|
||||
namespace Friendica\Test;
|
||||
|
||||
use Friendica\Core\Config\Capability\IManageConfigValues;
|
||||
use Friendica\Core\Logger\Util\Introspection;
|
||||
|
@ -14,7 +14,7 @@ use Mockery\MockInterface;
|
|||
use Psr\Log\LoggerInterface;
|
||||
use Psr\Log\LogLevel;
|
||||
|
||||
abstract class AbstractLoggerTest extends MockedTestCase
|
||||
abstract class LoggerTestCase extends MockedTestCase
|
||||
{
|
||||
use LoggerDataTrait;
|
||||
|
|
@ -8,6 +8,7 @@
|
|||
namespace Friendica\Test\src\Core\Logger;
|
||||
|
||||
use Friendica\Core\Logger\Type\ProfilerLogger;
|
||||
use Friendica\Test\LoggerDataTrait;
|
||||
use Friendica\Test\MockedTestCase;
|
||||
use Friendica\Util\Profiler;
|
||||
use Mockery\MockInterface;
|
||||
|
|
|
@ -9,13 +9,14 @@ namespace Friendica\Test\src\Core\Logger;
|
|||
|
||||
use Friendica\Core\Logger\Exception\LoggerArgumentException;
|
||||
use Friendica\Core\Logger\Exception\LogLevelException;
|
||||
use Friendica\Test\LoggerTestCase;
|
||||
use Friendica\Test\Util\VFSTrait;
|
||||
use Friendica\Core\Logger\Type\StreamLogger;
|
||||
use org\bovigo\vfs\vfsStream;
|
||||
use org\bovigo\vfs\vfsStreamFile;
|
||||
use Psr\Log\LogLevel;
|
||||
|
||||
class StreamLoggerTest extends AbstractLoggerTest
|
||||
class StreamLoggerTest extends LoggerTestCase
|
||||
{
|
||||
use VFSTrait;
|
||||
|
||||
|
|
|
@ -9,9 +9,10 @@ namespace Friendica\Test\src\Core\Logger;
|
|||
|
||||
use Friendica\Core\Logger\Exception\LogLevelException;
|
||||
use Friendica\Core\Logger\Type\SyslogLogger;
|
||||
use Friendica\Test\LoggerTestCase;
|
||||
use Psr\Log\LogLevel;
|
||||
|
||||
class SyslogLoggerTest extends AbstractLoggerTest
|
||||
class SyslogLoggerTest extends LoggerTestCase
|
||||
{
|
||||
/**
|
||||
* @var SyslogLoggerWrapper
|
||||
|
|
Loading…
Reference in a new issue