allow %{source} dict in no_empty
[akkoma] / test / pleroma / web / activity_pub / mrf / no_empty_policy_test.exs
index fbcf6841416bc13640e52a8445e66e1f7bef53fe..1e345d482f8ce12693c19749f4f41528785e6fe3 100644 (file)
@@ -16,7 +16,9 @@ defmodule Pleroma.Web.ActivityPub.MRF.NoEmptyPolicyTest do
         "actor" => "http://localhost:4001/users/testuser",
         "attachment" => [],
         "cc" => ["http://localhost:4001/users/testuser/followers"],
-        "source" => "this is a test post",
+        "source" => %{
+            "content" => "this is a test post"
+        },
         "to" => ["https://www.w3.org/ns/activitystreams#Public"],
         "type" => "Note"
       },