[TASK] Migrate FilesContentObjectTest to functional test
This UnitTest makes some heavy usage of mocking and way too smart logic for a test. By migrating it to a functional test, all this can disappear and can be recreated with real data. Resolves: #96822 Releases: main, 11.5 Change-Id: I552317b922e6b9f6f7db838f740a2b099c727fc5 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73412 Tested-by:core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/frontend/Classes/Resource/FileCollector.php 1 addition, 1 deletiontypo3/sysext/frontend/Classes/Resource/FileCollector.php
- typo3/sysext/frontend/Tests/Functional/ContentObject/DataSet/FilesContentObjectDataSet.csv 39 additions, 0 deletions...ional/ContentObject/DataSet/FilesContentObjectDataSet.csv
- typo3/sysext/frontend/Tests/Functional/ContentObject/FilesContentObjectTest.php 78 additions, 337 deletions...Tests/Functional/ContentObject/FilesContentObjectTest.php
- typo3/sysext/frontend/Tests/Functional/ContentObject/ImagesInStorage2/file4.jpg 0 additions, 0 deletions...Tests/Functional/ContentObject/ImagesInStorage2/file4.jpg
- typo3/sysext/frontend/Tests/Functional/ContentObject/ImagesInStorage2/file5.jpg 0 additions, 0 deletions...Tests/Functional/ContentObject/ImagesInStorage2/file5.jpg
- typo3/sysext/frontend/Tests/Functional/ContentObject/ImagesInStorage2/file6.jpg 0 additions, 0 deletions...Tests/Functional/ContentObject/ImagesInStorage2/file6.jpg
- typo3/sysext/frontend/Tests/Functional/ContentObject/ImagesInStorage2/subfolder1/bfilesub1.jpg 0 additions, 0 deletions...l/ContentObject/ImagesInStorage2/subfolder1/bfilesub1.jpg
- typo3/sysext/frontend/Tests/Functional/ContentObject/ImagesInStorage2/subfolder1/bfilesub2.jpg 0 additions, 0 deletions...l/ContentObject/ImagesInStorage2/subfolder1/bfilesub2.jpg
- typo3/sysext/frontend/Tests/Functional/ContentObject/ImagesInStorage2/subfolder1/bfilesub3.jpg 0 additions, 0 deletions...l/ContentObject/ImagesInStorage2/subfolder1/bfilesub3.jpg
- typo3/sysext/frontend/Tests/Functional/ContentObject/ImagesInStorage2/subfolder2/afilesub1.jpg 0 additions, 0 deletions...l/ContentObject/ImagesInStorage2/subfolder2/afilesub1.jpg
- typo3/sysext/frontend/Tests/Functional/ContentObject/ImagesInStorage2/subfolder2/afilesub2.jpg 0 additions, 0 deletions...l/ContentObject/ImagesInStorage2/subfolder2/afilesub2.jpg
- typo3/sysext/frontend/Tests/Functional/ContentObject/ImagesInStorage2/subfolder2/afilesub3.jpg 0 additions, 0 deletions...l/ContentObject/ImagesInStorage2/subfolder2/afilesub3.jpg
- typo3/sysext/frontend/Tests/Functional/ContentObject/ImagesInStorage3/file7.jpg 0 additions, 0 deletions...Tests/Functional/ContentObject/ImagesInStorage3/file7.jpg
- typo3/sysext/frontend/Tests/Functional/ContentObject/ImagesInStorage3/file8.jpg 0 additions, 0 deletions...Tests/Functional/ContentObject/ImagesInStorage3/file8.jpg
- typo3/sysext/frontend/Tests/Functional/ContentObject/ImagesInStorage3/file9.jpg 0 additions, 0 deletions...Tests/Functional/ContentObject/ImagesInStorage3/file9.jpg
Please register or sign in to comment