mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-08 19:35:11 +01:00
Use configured limit for number of profile fields (#33463)
This commit is contained in:
parent
3bdfa3eb4c
commit
f16fbc069a
@ -864,7 +864,7 @@ RSpec.describe Account do
|
|||||||
end
|
end
|
||||||
|
|
||||||
def fields_over_limit
|
def fields_over_limit
|
||||||
Array.new(5) { { 'name' => 'Name', 'value' => 'Value', 'verified_at' => '01/01/1970' } }
|
Array.new(described_class::DEFAULT_FIELDS_SIZE + 1) { { 'name' => 'Name', 'value' => 'Value', 'verified_at' => '01/01/1970' } }
|
||||||
end
|
end
|
||||||
|
|
||||||
def fields_empty_name
|
def fields_empty_name
|
||||||
|
Loading…
Reference in New Issue
Block a user