summaryrefslogtreecommitdiffstats
path: root/tests/Monolog/Handler/PHPConsoleHandlerTest.php
diff options
context:
space:
mode:
authorJordi Boggiano <j.boggiano@seld.be>2015-10-09 19:20:12 +0100
committerJordi Boggiano <j.boggiano@seld.be>2015-12-18 17:48:38 +0000
commit39f8a20e6dadc0194e846b254c5f23d1c732290b (patch)
tree98442ff33b4ae66bef4572f24b393563cd5fea92 /tests/Monolog/Handler/PHPConsoleHandlerTest.php
parent35ce15e098473713b0ba65ef49115879d24e9265 (diff)
downloadmonolog-39f8a20e6dadc0194e846b254c5f23d1c732290b.zip
monolog-39f8a20e6dadc0194e846b254c5f23d1c732290b.tar.gz
monolog-39f8a20e6dadc0194e846b254c5f23d1c732290b.tar.bz2
Remove non-PSR-3 methods for adding log records
Diffstat (limited to 'tests/Monolog/Handler/PHPConsoleHandlerTest.php')
-rw-r--r--tests/Monolog/Handler/PHPConsoleHandlerTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Monolog/Handler/PHPConsoleHandlerTest.php b/tests/Monolog/Handler/PHPConsoleHandlerTest.php
index 152573e..0316f4c 100644
--- a/tests/Monolog/Handler/PHPConsoleHandlerTest.php
+++ b/tests/Monolog/Handler/PHPConsoleHandlerTest.php
@@ -121,7 +121,7 @@ class PHPConsoleHandlerTest extends TestCase
public function testDebug()
{
$this->debugDispatcher->expects($this->once())->method('dispatchDebug')->with($this->equalTo('test'));
- $this->initLogger()->addDebug('test');
+ $this->initLogger()->debug('test');
}
public function testDebugContextInMessage()
@@ -134,7 +134,7 @@ class PHPConsoleHandlerTest extends TestCase
$this->equalTo($expectedMessage),
$this->equalTo($tag)
);
- $this->initLogger()->addDebug($message, $context);
+ $this->initLogger()->debug($message, $context);
}
public function testDebugTags($tagsContextKeys = null)
@@ -151,7 +151,7 @@ class PHPConsoleHandlerTest extends TestCase
$this->equalTo($expectedTags)
);
$this->connector->setDebugDispatcher($debugDispatcher);
- $logger->addDebug('test', array($key => $expectedTags));
+ $logger->debug('test', array($key => $expectedTags));
}
}
@@ -198,7 +198,7 @@ class PHPConsoleHandlerTest extends TestCase
public function testOptionEnabled()
{
$this->debugDispatcher->expects($this->never())->method('dispatchDebug');
- $this->initLogger(array('enabled' => false))->addDebug('test');
+ $this->initLogger(array('enabled' => false))->debug('test');
}
public function testOptionClassesPartialsTraceIgnore()