Fix polls not being validated on edition (#33755)

This commit is contained in:
Claire 2025-01-28 15:38:18 +01:00
parent 227d48dbd5
commit 2b148d3e88
8 changed files with 82 additions and 21 deletions

View file

@ -56,7 +56,7 @@ RSpec.describe 'Instances' do
max_media_attachments: Status::MEDIA_ATTACHMENTS_LIMIT
),
polls: include(
max_options: PollValidator::MAX_OPTIONS
max_options: PollOptionsValidator::MAX_OPTIONS
)
)
)