1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-07-31 02:10:22 +02:00

removed the logic for the fallback handler, its out of place, adapted the "test"

This commit is contained in:
odino
2013-06-29 02:05:03 +04:00
parent 33ea09eb6a
commit 394b0bf872
2 changed files with 2 additions and 18 deletions

View File

@@ -20,7 +20,6 @@ class NewRelicHandlerTest extends TestCase
{
$handler = new NewRelicHandler();
$fallbackHandler = new TestHandler();
$handler->setFallbackHandler($fallbackHandler);
$record = array(
'level' => Logger::DEBUG,
'extra' => array(),
@@ -28,6 +27,6 @@ class NewRelicHandlerTest extends TestCase
$handler->handle($record);
$this->assertCount(1, $fallbackHandler->getRecords());
$this->assertTrue($handler->isHandling($record));
}
}