mirror of
https://github.com/Seldaek/monolog.git
synced 2025-07-31 18:30:15 +02:00
Expect and document a more concrete exception type
As was proposed during review.
This commit is contained in:
@@ -203,7 +203,7 @@ class StreamHandlerTest extends TestCase
|
||||
);
|
||||
}
|
||||
|
||||
$this->expectException(\Exception::class);
|
||||
$this->expectException(\UnexpectedValueException::class);
|
||||
$this->expectExceptionMessage('There is no existing directory at');
|
||||
|
||||
$handler->handle($this->getRecord());
|
||||
|
Reference in New Issue
Block a user