Skip to content

Commit

Permalink
DEV: Fix spec because of translation change in core (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
gschlager authored Apr 4, 2024
1 parent 2c5ab93 commit bbfd15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/site_settings_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

expect do SiteSetting.set(:staff_alias_username, "a") end.to raise_error(
Discourse::InvalidParameters,
/#{I18n.t("user.username.short", min: 2)}/,
/#{I18n.t("user.username.short", count: 2)}/,
)
end

Expand Down

0 comments on commit bbfd15f

Please sign in to comment.