Add support for outgoing update.

This commit is contained in:
lain 2018-02-25 21:02:44 +01:00
commit e9de04b74b
6 changed files with 20 additions and 6 deletions

View file

@ -47,9 +47,10 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do
assert activity.data["id"] == given_id
end
test "adds an id to a given object if it lacks one and inserts it to the object database" do
test "adds an id to a given object if it lacks one and is a note and inserts it to the object database" do
data = %{
"object" => %{
"type" => "Note",
"ok" => true
}
}