Review TYPO3_6-0 Merged

22900[BUGFIX] Backup singletons in unit tests prior to other setUp operations

Stefan Neufeind CR +2 V +2 Easy +7 −6 updated 08/07/13, 03:24

Commit message

If the singleton management is changed in unit tests, a local copy of
the previous stage is done to re-construct this state in tearDown().
This has to be done before any other instantiation in setUp() is
initiated which might register additional singletons.

Review

  • Code review CR +2
    • Christian Kuhn +2
  • Verified V +2
    • Christian Kuhn +2

Issues 1

Files 5

Review log 3

  1. Stefan Neufeind commented on patch set 1 08/06/13, 22:46

    from master/6.1: BackendFormProtectionTest does not need to be adjusted on 6.0 (no singleton-instances handled in setup). Other files applied without further changes S this is also a kind of "straight" backport.
  2. Christian Kuhn voted on patch set 1 V +2 CR +2 08/07/13, 03:24

  3. Christian Kuhn merged patch set 2 08/07/13, 03:24