mirror of
https://github.com/discourse/discourse.git
synced 2025-04-21 08:33:45 +08:00

`isTesting` is a function, so `if(isTesting)` was only checking for the presence of the function. We need to actually evaluate it. Followup to 68a032a7348dbf264f4d2db5f5dae5d0ecfdb7bd