mirror of
https://github.com/discourse/discourse.git
synced 2025-02-28 12:26:25 +08: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.