[BUGFIX] Remove possibly undefined constant from test bootstraps 39/53239/2
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 17 Jun 2017 13:09:53 +0000 (15:09 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 17 Jun 2017 13:35:14 +0000 (15:35 +0200)
commit1d98daf126ea494389b95d3b2e761f51cc1bb03c
tree2af14dfc868adc467a376a66ffc85b2c0e48372a
parente8f97da1795a29cdc5c7c44c5ee8c50501e42968
[BUGFIX] Remove possibly undefined constant from test bootstraps

The constant LF might not be defined in functional and unit test
bootstrap by the time the script terminates with an error message.

Replacing the usage of this constant with the native value for a
linebreak causes the same result for the error message, but prevents
the additional and confusing messages about the not existing constant.

Change-Id: I66bd2092875e33fa8bb93a2a57c54daeaeb15ecf
Resolves: #81599
Releases: 7.6
Reviewed-on: https://review.typo3.org/53239
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Build/FunctionalTestsBootstrap.php
typo3/sysext/core/Build/UnitTestsBootstrap.php