TYPO3 v15 dev-main snapshot ()

This commit is contained in:
2026-08-10 22:31:09 +02:00
commit af8cc155b5
6818 changed files with 642608 additions and 0 deletions
@@ -0,0 +1,27 @@
.. include:: /Includes.rst.txt
.. _feature-60123:
========================================================
Feature: #60123 - Unit base test case removes test files
========================================================
See :issue:`60123`
Description
===========
Some unit tests need to create test files or directories to check the system
under test. Those files should be removed again.
A test can now register absolute file paths in :code:`$this->testFilesToDelete`, and
the generic :code:`tearDown()` method will then remove them. Only files, links and directories
within typo3temp/ are allowed.
Impact
======
This allows tests to clean up the environment without leaving obsolete test files behind.
.. index:: PHP-API