mirror of
https://github.com/Seldaek/monolog.git
synced 2025-07-30 18:00:17 +02:00
Fixed AbstractHandler test
This commit is contained in:
@@ -23,7 +23,7 @@ class AbstractHandlerTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
public function testHandleLowerLevelMessage()
|
||||
{
|
||||
$handler = new TestHandler();
|
||||
$handler = new TestHandler(Logger::WARNING);
|
||||
$this->assertFalse($handler->handle($this->getMessage(Logger::DEBUG)));
|
||||
}
|
||||
|
||||
@@ -45,10 +45,3 @@ class AbstractHandlerTest extends \PHPUnit_Framework_TestCase
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class TestHandler extends AbstractHandler
|
||||
{
|
||||
public function write($message)
|
||||
{
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user