From cb3675ee15cc0157c1694b8cac1af7ad436b31c7 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 14 Mar 2022 13:51:26 +0100 Subject: [PATCH] Try fixing ci --- tests/Monolog/Handler/StreamHandlerTest.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/Monolog/Handler/StreamHandlerTest.php b/tests/Monolog/Handler/StreamHandlerTest.php index 2b2f6a674..127a36e23 100644 --- a/tests/Monolog/Handler/StreamHandlerTest.php +++ b/tests/Monolog/Handler/StreamHandlerTest.php @@ -145,10 +145,7 @@ public function testWriteInvalidArgument($invalidArgument) public function testWriteInvalidResource() { $this->expectException(\UnexpectedValueException::class); - $this->expectExceptionMessage('The stream or file "bogus://url" could not be opened in append mode: Failed to open stream: No such file or directory -The exception occurred while attempting to log: test -Context: {"foo":"bar"} -Extra: [1,2,3]'); + $this->expectExceptionMessage('The stream or file "bogus://url" could not be opened in append mode: Failed to open stream: No such file or directory'."\n".'The exception occurred while attempting to log: test'."\n".'Context: {"foo":"bar"}'."\n".'Extra: [1,2,3]'); $handler = new StreamHandler('bogus://url'); $record = $this->getRecord();