mirror of
https://github.com/discourse/discourse.git
synced 2025-02-10 13:24:55 +00:00
Regression from https://github.com/discourse/discourse/pull/23668 where we stopped passing in `this.badgeReason` to the badge granting function. This PR fixes that and adds a unit test to cover that code path.