1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-05 20:57:36 +02:00

Remove assertInternalType that it is deprecated

This commit is contained in:
George Mponos
2018-12-16 23:46:26 +02:00
parent 3fbaff7a63
commit ee350961da
10 changed files with 16 additions and 15 deletions

View File

@@ -45,7 +45,7 @@ class ElasticsearchFormatterTest extends \PHPUnit\Framework\TestCase
// Format log message
$formatter = new ElasticsearchFormatter('my_index', 'doc_type');
$doc = $formatter->format($msg);
$this->assertInternalType('array', $doc);
$this->assertIsArray($doc);
// Record parameters
$this->assertEquals('my_index', $doc['_index']);