mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 09:21:40 +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