Add support for outgoing update.
This commit is contained in:
parent
5ea6d96dbe
commit
e9de04b74b
6 changed files with 20 additions and 6 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue