Problem/Motivation
ThemeTestSubscriber has a class variable $container that is never initialized. The test case will produce a fatal error, but it still passes because it is only tested that an exception text does not appear on the page.
Proposed resolution
Fix ThemeTestSubscriber so that is gets the theme registry service or the container. Test for the existence of text on the resulting page.
Remaining tasks
Patch.
User interface changes
none
API changes
none
Data model changes
none
Comments
Comment #13
catchThis still appears to be valid, it's not clear to me what's supposed to be happening here, but it's definitely not testing what it thinks it is.
Comment #14
catchDuplicate of #2233347: Unreached test code in ThemeTestSubscriber.