https://bugzilla.wikimedia.org/show_bug.cgi?id=44206
Tyler Romeo <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Tyler Romeo <[email protected]> --- This is the problem with entirely static classes. Stubbing UserMailer is almost impossible since it's always called statically. Either we can add a conditional inside UserMailer to check for unit tests, or we can turn UserMailer into an actual class, deprecate the static methods, and then stub it out for unit tests. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
