Add media attachment description limit to instance API response (#33153)
This commit is contained in:
parent
48ea7552dd
commit
0fcf227a92
2 changed files with 7 additions and 3 deletions
|
@ -55,6 +55,9 @@ RSpec.describe 'Instances' do
|
|||
max_characters: StatusLengthValidator::MAX_CHARS,
|
||||
max_media_attachments: Status::MEDIA_ATTACHMENTS_LIMIT
|
||||
),
|
||||
media_attachments: include(
|
||||
description_limit: MediaAttachment::MAX_DESCRIPTION_LENGTH
|
||||
),
|
||||
polls: include(
|
||||
max_options: PollValidator::MAX_OPTIONS
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue