Project

General

Profile

Task #101529

Updated by Anja Leichsenring over 1 year ago

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__ __DIR__ . '...'@ '...' to enable direct jumping of IDEs and also serve as a clean read. 
 Some of the CSV fixtures are loaded via @'typo3/sysext/....'@ 'typo3/sysext/....' paths, which will not offer those benefits. 
 Find the occurences and replace the relative patch with the @__DIR__@ __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.

Back