Actions
Bug #67189
closedEpic #65314: PHP7
LogRecordTest::toStringIncludesExceptionDataAsJson
Start date:
2015-05-29
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Failed asserting that 'Fri, 29 May 2015 08:44:59 +0000 [DEBUG] request="e499f6eb7846b" component="test.core.log": test message - {"exception":"Exception: foo in /typo3-src/typo3/sysext/core/Tests/Unit/Log/LogRecordTest.php:158 Stack trace: #0 [internal function]: TYPO3\\CMS\\Core\\Tests\\Unit\\Log\\LogRecordTest->toStringIncludesExceptionDataAsJson() #1 /phpunit/phpunit/src/Framework/TestCase.php(865): ReflectionMethod->invokeArgs(Object(TYPO3\\CMS\\Core\\Tests\\Unit\\Log\\LogRecordTest), Array) #2 /phpunit/phpunit/src/Framework/TestCase.php(743): PHPUnit_Framework_TestCase->runTest() #3 /phpunit/phpunit/src/Framework/TestResult.php(609): PHPUnit_Framework_TestCase->runBare() #4 /phpunit/phpunit/src/Framework/TestCase.php(699): PHPUnit_Framework_TestResult->run(Object(TYPO3\\CMS\\Core\\Tests\\Unit\\Log\\LogRecordTest)) #5 /phpunit/phpunit/src/Framework/TestSuite.php(722): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult)) #6 /phpunit/phpunit/src/Framework/TestSuite.php(722): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult)) #7 /phpunit/phpunit/src/Framework/TestSuite.php(722): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult)) #8 /phpunit/phpunit/src/TextUI/TestRunner.php(406): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult)) #9 /phpunit/phpunit/src/TextUI/Command.php(153): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array) #10 /phpunit/phpunit/src/TextUI/Command.php(105): PHPUnit_TextUI_Command->run(Array, true) #11 /phpunit/phpunit/phpunit7(56): PHPUnit_TextUI_Command::main() #12 {main}"}' contains "'Exception' with message 'foo'"
=> PHP changed format of Exception Messages
=> https://github.com/php/php-src/pull/1226
Actions