From 190aa65aac9062072baaac39a079c6dbdc4feb8d Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 5 Sep 2019 14:33:55 +0200 Subject: [PATCH] Fix chromephp tests --- tests/Monolog/Handler/ChromePHPHandlerTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Monolog/Handler/ChromePHPHandlerTest.php b/tests/Monolog/Handler/ChromePHPHandlerTest.php index 421cc491..bb1b0792 100644 --- a/tests/Monolog/Handler/ChromePHPHandlerTest.php +++ b/tests/Monolog/Handler/ChromePHPHandlerTest.php @@ -66,10 +66,10 @@ class ChromePHPHandlerTest extends TestCase { $handler = new TestChromePHPHandler(); $handler->handle($this->getRecord(Logger::DEBUG)); - $handler->handle($this->getRecord(Logger::WARNING, str_repeat('a', 150 * 1024))); + $handler->handle($this->getRecord(Logger::WARNING, str_repeat('a', 2 * 1024))); // overflow chrome headers limit - $handler->handle($this->getRecord(Logger::WARNING, str_repeat('a', 100 * 1024))); + $handler->handle($this->getRecord(Logger::WARNING, str_repeat('b', 2 * 1024))); $expected = array( 'X-ChromeLogger-Data' => base64_encode(utf8_encode(json_encode(array( @@ -84,7 +84,7 @@ class ChromePHPHandlerTest extends TestCase ), array( 'test', - str_repeat('a', 150 * 1024), + str_repeat('a', 2 * 1024), 'unknown', 'warn', ),