2
0

Add Status::MEDIA_ATTACHMENTS_LIMIT configuration constant (#30433)

This commit is contained in:
Matt Jankowski
2024-05-27 05:49:44 -04:00
committed by GitHub
parent 87156f57b5
commit c61e356475
9 changed files with 15 additions and 12 deletions

View File

@@ -45,7 +45,7 @@ describe 'Instances' do
),
statuses: include(
max_characters: StatusLengthValidator::MAX_CHARS,
max_media_attachments: 4 # TODO, move to constant somewhere
max_media_attachments: Status::MEDIA_ATTACHMENTS_LIMIT
),
polls: include(
max_options: PollValidator::MAX_OPTIONS