Selaa lähdekoodia

Try fixing ci

Jordi Boggiano 3 vuotta sitten
vanhempi
commit
cb3675ee15
1 muutettua tiedostoa jossa 1 lisäystä ja 4 poistoa
  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();