1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-02 19:27:37 +02:00

Try fixing ci

This commit is contained in:
Jordi Boggiano
2022-03-14 13:51:26 +01:00
parent affa44f7c8
commit cb3675ee15

View File

@@ -145,10 +145,7 @@ class StreamHandlerTest extends TestCase
public function testWriteInvalidResource() public function testWriteInvalidResource()
{ {
$this->expectException(\UnexpectedValueException::class); $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 $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]');
The exception occurred while attempting to log: test
Context: {"foo":"bar"}
Extra: [1,2,3]');
$handler = new StreamHandler('bogus://url'); $handler = new StreamHandler('bogus://url');
$record = $this->getRecord(); $record = $this->getRecord();