mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-03 11:47:38 +02:00
Remove excess parameter from createHandler
It only takes 3 parameters
This commit is contained in:
@@ -48,7 +48,7 @@ class PushoverHandlerTest extends TestCase
|
|||||||
|
|
||||||
public function testWriteWithComplexTitle()
|
public function testWriteWithComplexTitle()
|
||||||
{
|
{
|
||||||
$this->createHandler('myToken', 'myUser', 'Backup finished - SQL1', Logger::EMERGENCY);
|
$this->createHandler('myToken', 'myUser', 'Backup finished - SQL1');
|
||||||
$this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1'));
|
$this->handler->handle($this->getRecord(Logger::CRITICAL, 'test1'));
|
||||||
fseek($this->res, 0);
|
fseek($this->res, 0);
|
||||||
$content = fread($this->res, 1024);
|
$content = fread($this->res, 1024);
|
||||||
|
Reference in New Issue
Block a user