mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
DEV: Bump the limits on group request text fields
Users submitting requests to join groups were not receiving errors when the character limit for the request was exceeded. This also affects the UX when admin-created group request templates are inserted into the request. This patch bumps the limits. - https://meta.discourse.org/t/group-membership-requests-suddenly-limited-to-274-characters/265127 - https://github.com/discourse/discourse/pull/19993
This commit is contained in:

committed by
Loïc Guitaut

parent
4a161b4602
commit
4ea396e67c
@ -2208,7 +2208,7 @@ RSpec.describe GroupsController do
|
||||
|
||||
expect(response.status).to eq(422)
|
||||
expect(response.parsed_body["errors"]).to contain_exactly(
|
||||
"Reason is too long (maximum is 280 characters)",
|
||||
"Reason is too long (maximum is 5000 characters)",
|
||||
)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user