Issue Bug Closed

#50812Make sure in unit tests the singletons are backup at first

Nicole Hummel 08/06/13, 12:18 updated 10/02/18, 12:12

Description

If in unit tests the singleton management is changed there is a local copy of the initial stage. If the backup contains classes which were created during setup method after finishing the test the internal __destruct method is called. This is why it is necessary to store the singleton classes before any other initialization otherwise the construct function is not executed for other tests and properties are false or missing.

Reviews 3