diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2021-03-25 21:38:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-25 21:38:03 +0300 |
commit | b1bb297af991a948cbb5ab7af198e3a72cb51e1d (patch) | |
tree | ba18c9454922322b2221a8aee5590851e9b3f63b /plugins/Monolog/tests/Integration/LogTest.php | |
parent | eb1a6ba1ff8a0a486f963eb4087714e94a9a4d12 (diff) |
allow forcing backtrace to print in exceptiontotextprocessor (#17369)
* Allow forcing backtrace to print and do not print redundant message in exceptiontotextprocessor
* fix test
* consistent output when exception is an array
* fix tests
* fix another test
Diffstat (limited to 'plugins/Monolog/tests/Integration/LogTest.php')
-rw-r--r-- | plugins/Monolog/tests/Integration/LogTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Monolog/tests/Integration/LogTest.php b/plugins/Monolog/tests/Integration/LogTest.php index 9e24f4af13..e0e2c6e53b 100644 --- a/plugins/Monolog/tests/Integration/LogTest.php +++ b/plugins/Monolog/tests/Integration/LogTest.php @@ -31,7 +31,7 @@ class LogTest extends IntegrationTestCase public static $expectedExceptionOutput = '[Monolog] [%s] LogTest.php(112): dummy error message dummy backtrace'; - public static $expectedErrorOutput = '[Monolog] [%s] dummyerrorfile.php(145): Unknown error (102) - dummy error string + public static $expectedErrorOutput = '[Monolog] [%s] dummyerrorfile.php(145): dummy error message dummy backtrace'; public function setUp(): void @@ -41,7 +41,7 @@ class LogTest extends IntegrationTestCase Log::unsetInstance(); @unlink(self::getLogFileLocation()); - Log::$debugBacktraceForTests = "dummy backtrace"; + Log::$debugBacktraceForTests = "dummy error message\ndummy backtrace"; } public function tearDown(): void |