Add support for outgoing update.
[akkoma] / test / web / activity_pub / activity_pub_test.exs
index 5ab7c84957271350087365e583f51a85cea97317..96792bca5780650b40350f36a5aff41503ca1a69 100644 (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
         }
       }