mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 09:06:10 +02:00
Code cleanups
This commit is contained in:
@@ -23,7 +23,7 @@ class GitProcessorTest extends TestCase
|
||||
$processor = new GitProcessor();
|
||||
$record = $processor($this->getRecord());
|
||||
|
||||
$this->assertArrayHasKey('git', $record['extra']);
|
||||
$this->assertTrue(!is_array($record['extra']['git']['branch']));
|
||||
$this->assertArrayHasKey('git', $record->extra);
|
||||
$this->assertTrue(!is_array($record->extra['git']['branch']));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user