diff options
author | lain <lain@soykaf.club> | 2018-02-25 21:02:44 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-02-25 21:08:32 +0100 |
commit | e9de04b74bb772fc1b2bff5201195e63eee198be (patch) | |
tree | 663b698d37d0662a1159ea17147f39f60ecff71b /test | |
parent | 5ea6d96dbe37d7ded83a2ca52714fe9b33e44c67 (diff) | |
download | pleroma-e9de04b74bb772fc1b2bff5201195e63eee198be.tar.gz pleroma-e9de04b74bb772fc1b2bff5201195e63eee198be.zip |
Add support for outgoing update.
Diffstat (limited to 'test')
-rw-r--r-- | test/web/activity_pub/activity_pub_test.exs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index 5ab7c8495..96792bca5 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -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 } } |