Project

General

Profile

Actions

Bug #86091

closed

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

Added by Jigal van Hemert about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Tests
Target version:
Start date:
2018-09-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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'.

Actions

Also available in: Atom PDF