mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-21 20:35:17 +02:00
Rename TestCase to MonologTestCase (#1953)
This commit is contained in:
@@ -11,10 +11,9 @@
|
||||
|
||||
namespace Monolog\Processor;
|
||||
|
||||
use Monolog\Test\TestCase;
|
||||
use PHPUnit\Framework\Attributes\DataProvider;
|
||||
|
||||
class ClosureContextProcessorTest extends TestCase
|
||||
class ClosureContextProcessorTest extends \Monolog\Test\MonologTestCase
|
||||
{
|
||||
public function testReplace()
|
||||
{
|
||||
|
@@ -12,9 +12,8 @@
|
||||
namespace Monolog\Processor;
|
||||
|
||||
use Monolog\Level;
|
||||
use Monolog\Test\TestCase;
|
||||
|
||||
class GitProcessorTest extends TestCase
|
||||
class GitProcessorTest extends \Monolog\Test\MonologTestCase
|
||||
{
|
||||
/**
|
||||
* @covers Monolog\Processor\GitProcessor::__invoke
|
||||
|
@@ -11,9 +11,7 @@
|
||||
|
||||
namespace Monolog\Processor;
|
||||
|
||||
use Monolog\Test\TestCase;
|
||||
|
||||
class HostnameProcessorTest extends TestCase
|
||||
class HostnameProcessorTest extends \Monolog\Test\MonologTestCase
|
||||
{
|
||||
/**
|
||||
* @covers Monolog\Processor\HostnameProcessor::__invoke
|
||||
|
@@ -27,10 +27,9 @@ function tester($handler, $record)
|
||||
namespace Monolog\Processor;
|
||||
|
||||
use Monolog\Level;
|
||||
use Monolog\Test\TestCase;
|
||||
use Monolog\Handler\TestHandler;
|
||||
|
||||
class IntrospectionProcessorTest extends TestCase
|
||||
class IntrospectionProcessorTest extends \Monolog\Test\MonologTestCase
|
||||
{
|
||||
public function getHandler()
|
||||
{
|
||||
|
@@ -11,9 +11,7 @@
|
||||
|
||||
namespace Monolog\Processor;
|
||||
|
||||
use Monolog\Test\TestCase;
|
||||
|
||||
class LoadAverageProcessorTest extends TestCase
|
||||
class LoadAverageProcessorTest extends \Monolog\Test\MonologTestCase
|
||||
{
|
||||
/**
|
||||
* @covers Monolog\Processor\LoadAverageProcessor::__invoke
|
||||
|
@@ -11,9 +11,7 @@
|
||||
|
||||
namespace Monolog\Processor;
|
||||
|
||||
use Monolog\Test\TestCase;
|
||||
|
||||
class MemoryPeakUsageProcessorTest extends TestCase
|
||||
class MemoryPeakUsageProcessorTest extends \Monolog\Test\MonologTestCase
|
||||
{
|
||||
/**
|
||||
* @covers Monolog\Processor\MemoryPeakUsageProcessor::__invoke
|
||||
|
@@ -11,9 +11,7 @@
|
||||
|
||||
namespace Monolog\Processor;
|
||||
|
||||
use Monolog\Test\TestCase;
|
||||
|
||||
class MemoryUsageProcessorTest extends TestCase
|
||||
class MemoryUsageProcessorTest extends \Monolog\Test\MonologTestCase
|
||||
{
|
||||
/**
|
||||
* @covers Monolog\Processor\MemoryUsageProcessor::__invoke
|
||||
|
@@ -11,9 +11,7 @@
|
||||
|
||||
namespace Monolog\Processor;
|
||||
|
||||
use Monolog\Test\TestCase;
|
||||
|
||||
class MercurialProcessorTest extends TestCase
|
||||
class MercurialProcessorTest extends \Monolog\Test\MonologTestCase
|
||||
{
|
||||
private string $oldCwd;
|
||||
private string $testDir;
|
||||
|
@@ -11,9 +11,7 @@
|
||||
|
||||
namespace Monolog\Processor;
|
||||
|
||||
use Monolog\Test\TestCase;
|
||||
|
||||
class ProcessIdProcessorTest extends TestCase
|
||||
class ProcessIdProcessorTest extends \Monolog\Test\MonologTestCase
|
||||
{
|
||||
/**
|
||||
* @covers Monolog\Processor\ProcessIdProcessor::__invoke
|
||||
|
@@ -12,10 +12,9 @@
|
||||
namespace Monolog\Processor;
|
||||
|
||||
use Monolog\Level;
|
||||
use Monolog\Test\TestCase;
|
||||
use PHPUnit\Framework\Attributes\DataProvider;
|
||||
|
||||
class PsrLogMessageProcessorTest extends TestCase
|
||||
class PsrLogMessageProcessorTest extends \Monolog\Test\MonologTestCase
|
||||
{
|
||||
#[DataProvider('getPairs')]
|
||||
public function testReplacement($val, $expected)
|
||||
|
@@ -11,9 +11,7 @@
|
||||
|
||||
namespace Monolog\Processor;
|
||||
|
||||
use Monolog\Test\TestCase;
|
||||
|
||||
class TagProcessorTest extends TestCase
|
||||
class TagProcessorTest extends \Monolog\Test\MonologTestCase
|
||||
{
|
||||
/**
|
||||
* @covers Monolog\Processor\TagProcessor::__invoke
|
||||
|
@@ -11,9 +11,7 @@
|
||||
|
||||
namespace Monolog\Processor;
|
||||
|
||||
use Monolog\Test\TestCase;
|
||||
|
||||
class UidProcessorTest extends TestCase
|
||||
class UidProcessorTest extends \Monolog\Test\MonologTestCase
|
||||
{
|
||||
/**
|
||||
* @covers Monolog\Processor\UidProcessor::__invoke
|
||||
|
@@ -11,9 +11,7 @@
|
||||
|
||||
namespace Monolog\Processor;
|
||||
|
||||
use Monolog\Test\TestCase;
|
||||
|
||||
class WebProcessorTest extends TestCase
|
||||
class WebProcessorTest extends \Monolog\Test\MonologTestCase
|
||||
{
|
||||
public function testProcessor()
|
||||
{
|
||||
|
Reference in New Issue
Block a user