#22556cObj + PHPunit - Problem with cwd
Description
Test that uses cobj->IMAGE fail in PHPunit, because working-directory is wrong.
I’ve defined an image with
file = EXT:plugin/img/demo.gif
When testing with PHPunit, then cObj->IMAGE tries
to read
/www/typo3/typo3/extplugin/img/demo.gif
and getcwd() is
/www/typo3/
While it should try to read
/www/typo3/extplugin/img/demo.gif
and getcwd() should be
/www/
as it is, when calling the the plugin from FE.
(issue imported from #M14264)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.