Issue Task Closed

#89974Speed up tests - remove superfluous usages of accessible mock

Susanne Moog 12/17/19, 13:21 updated 12/23/19, 22:58

Description

getAccessibleMock is used in various tests that don’t really need it as they can either use the real instance or a “normal” mock instead. As accessible mock is pretty slow performance wise, we should avoid using it where possible. While a lot of tests would have to be completely rewritten, there are various places where easy replacements are possible. These are the target of this issue.

Reviews 1