Actually fix incoming attachments.

This commit is contained in:
lain 2018-02-18 13:03:40 +01:00
commit 6046f10431
3 changed files with 14 additions and 3 deletions

View file

@ -271,6 +271,9 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do
assert Activity.get_create_activity_by_object_ap_id(object.data["id"])
{:ok, object_again} = ActivityPub.fetch_object_from_id("http://mastodon.example.org/@admin/99541947525187367")
assert [attachment] = object.data["attachment"]
assert is_list(attachment["url"])
assert object == object_again
end
end