Fix crash when encountering invalid account fields (#16598)
* Add test * Fix crash when encountering invalid account fields
This commit is contained in:
@@ -12,6 +12,7 @@ RSpec.describe ActivityPub::ProcessAccountService, type: :service do
|
||||
attachment: [
|
||||
{ type: 'PropertyValue', name: 'Pronouns', value: 'They/them' },
|
||||
{ type: 'PropertyValue', name: 'Occupation', value: 'Unit test' },
|
||||
{ type: 'PropertyValue', name: 'non-string', value: ['foo', 'bar'] },
|
||||
],
|
||||
}.with_indifferent_access
|
||||
end
|
||||
|
Reference in New Issue
Block a user