We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2a2cd57 + cd65126 commit 34f21baCopy full SHA for 34f21ba
1 file changed
tests/system/Log/LoggerTest.php
@@ -419,4 +419,18 @@ public function testFilenameCleaning()
419
$this->assertEquals($expected, $logger->cleanup($ohoh));
420
}
421
422
+ //--------------------------------------------------------------------
423
+
424
+ public function testDetermineFileNoStackTrace()
425
+ {
426
+ $config = new LoggerConfig();
427
+ $logger = new Logger($config);
428
429
+ $expected = [
430
+ 'unknown',
431
432
+ ];
433
434
+ $this->assertEquals($expected, $logger->determineFile());
435
+ }
436
0 commit comments