Issue Bug Closed

#86091Empty documentroot causes errors in unit tests when used as needle in strpos on Windows

Jigal van Hemert 09/02/18, 23:31 updated 10/02/18, 10:28

Description

\TYPO3\CMS\Core\Tests\Unit\Cache\Backend\FileBackendTest::setCacheDirectoryAllowsAbsolutePathWithoutTrailingSlash() and similar tests set the cache directory of the FileBackend. In that process an empty documentroot causes a warning in strpos() where it’s used as ‘needle’.

Reviews 1