Review main Abandoned

76577[TASK] Ensure proper site configuration cleanup in tests

Stefan Bürk CR 0 V 0 Normal +179 −12 updated 11/13/22, 13:04

Commit message

Quite a handful of functional tests are using methods from the
`\TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait`
to write site configurations needed for tests. Nearly all of them
missed properly cleaning up the written configurations, which may
have impact on other tests due not having a clean setup to work
with.

This change adds a convenient method to the `SiteBasedTestTrait`
for proper cleanup and adds them to all tests using this trait
in the `tearDown()` method. `tearDown()` is added in cases where
test did a not had this method yet.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 32

Show 12 more files