Skip to content

Commit

Permalink
Try fixing ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Mar 14, 2022
1 parent affa44f commit cb3675e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/Monolog/Handler/StreamHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit cb3675e

Please sign in to comment.