Browse Source

Try fixing ci

Jordi Boggiano 3 years ago
parent
commit
cb3675ee15
1 changed files with 1 additions and 4 deletions
  1. 1 4
      tests/Monolog/Handler/StreamHandlerTest.php

+ 1 - 4
tests/Monolog/Handler/StreamHandlerTest.php

@@ -145,10 +145,7 @@ class StreamHandlerTest extends TestCase
     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();