Issue Task Closed

#101529Use relative paths for test fixture files

Anja Leichsenring 08/02/23, 13:13 updated 01/30/24, 08:31

Description

functional tests heavily use a feature to import and compare DB records via CSV files. Those files should be referenced by a syntax consisting of __DIR__ . '...' to enable direct jumping of IDEs and also serve as a clean read.
Some of the CSV fixtures are loaded via 'typo3/sysext/....' paths, which will not offer those benefits.
Find the occurences and replace the relative patch with the __DIR__ syntax.

Functions to look for are
- $this->assertCSVDataSet()
- $this->importCSVDataSet()

Have for example a look into typo3/sysext/extbase/Tests/Functional/Persistence/RelationTest.php for the wanted syntax, here we corrected the pathes already.

Reviews 3