mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 13:16:39 +02:00
Remove assertInternalType that it is deprecated
This commit is contained in:
@@ -23,7 +23,7 @@ class HostnameProcessorTest extends TestCase
|
||||
$processor = new HostnameProcessor();
|
||||
$record = $processor($this->getRecord());
|
||||
$this->assertArrayHasKey('hostname', $record['extra']);
|
||||
$this->assertInternalType('string', $record['extra']['hostname']);
|
||||
$this->assertIsString($record['extra']['hostname']);
|
||||
$this->assertNotEmpty($record['extra']['hostname']);
|
||||
$this->assertEquals(gethostname(), $record['extra']['hostname']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user