TYPO3 Forger
  • Dashboard
  • Get involved
  • Reviews
    Overview Ready for review Work in progress Needs action Needs review Needs verification Needs rebase Negative votes Reviewed and verified Ready to merge
  • Issues
    Stale issues Possible duplicates By category By month
  • Sprints
    Overview Initiatives TYPO3 Core Review board
  • Tools
    Backports ReST helper
  • Help
  • Search
  • Login
Esc

Words find the open ones, a number the issue and the change with it.

  1. Issues
  2. #110624
Issue Task Resolved

#110624Limit global backup to stateful unit tests

Wouter Wolters 09/04/26, 14:20 updated 09/10/26, 07:40

Open in Forge Comment in Forge

Description

The PHP unit test configuration enabled backupGlobals for the entire
suite. PHPUnit therefore serialized and restored the complete global
state before and after every test invocation, including tests that
never modify it.

Reviews 6

  • 14.3 95856[TASK] Stop unit tests leaking global state Related to this issue Merged Stefan Bürk CR +2 V +2 → main Easy +29 −0 09/15/26, 13:17
  • main 95847[TASK] Stop unit tests leaking global state Related to this issue Merged Stefan Bürk CR +2 V +2 → 14.3 Easy +29 −0 09/15/26, 13:17
  • 14.3 95845[TASK] Isolate global state in SetCookieServiceTest Related to this issue Merged Stefan Bürk CR +2 V +2 → main Easy +2 −0 09/15/26, 08:11
  • main 95844[TASK] Isolate global state in SetCookieServiceTest Related to this issue Merged Stefan Bürk CR +2 V +2 → 14.3 Easy +2 −0 09/15/26, 08:11
  • 14.3 95746[TASK] Limit global backup to stateful unit tests Resolves this issue Merged Georg Ringer CR +2 V +2 → main Normal +223 −1 09/10/26, 07:33
  • main 95345[TASK] Limit global backup to stateful unit tests Resolves this issue Merged Wouter Wolters CR +2 V +2 → 14.3 Normal +223 −1 09/10/26, 07:33
Assigned to
Wouter Wolters
Author
Wouter Wolters
Priority
Should have
TYPO3 version
15
© 2026 TYPO3 GmbH.
  • API
  • Privacy Policy
  • Legal Notice
  • Feedback