Adds tests for many to many field deserialization

This commit is contained in:
Mouse Reeve
2020-12-07 09:31:12 -08:00
parent 69bb3f2751
commit 4599df752d
2 changed files with 33 additions and 4 deletions

View File

@ -152,7 +152,7 @@ class ManyToManyField(ActivitypubFieldMixin, models.ManyToManyField):
try:
validate_remote_id(remote_id)
except ValidationError:
return None
continue
items.append(
activitypub.resolve_remote_id(self.related_model, remote_id)
)