mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-15 01:24:17 +02:00
Split expectException calls with two parameters into the proper two calls
This commit is contained in:
@@ -134,7 +134,8 @@ class ElasticSearchHandlerTest extends TestCase
|
||||
$handler = new ElasticSearchHandler($client, $handlerOpts);
|
||||
|
||||
if ($expectedError) {
|
||||
$this->expectException($expectedError[0], $expectedError[1]);
|
||||
$this->expectException($expectedError[0]);
|
||||
$this->expectExceptionMessage($expectedError[1]);
|
||||
$handler->handle($this->getRecord());
|
||||
} else {
|
||||
$this->assertFalse($handler->handle($this->getRecord()));
|
||||
|
Reference in New Issue
Block a user