summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkljczk <git@mkljczk.pl>2025-02-17 19:21:08 +0100
committermkljczk <git@mkljczk.pl>2025-02-17 19:21:08 +0100
commitce4c07cc2b16d429eaabf324407e7aafd93843a9 (patch)
tree8be7a95fdc9794858f56a2bb8ecccfdae789721d
parent04af8bfd9c884dde39dd2073402e70cc219d3c6d (diff)
downloadpleroma-ce4c07cc2b16d429eaabf324407e7aafd93843a9.tar.gz
pleroma-ce4c07cc2b16d429eaabf324407e7aafd93843a9.zip
update test
Signed-off-by: mkljczk <git@mkljczk.pl>
-rw-r--r--test/pleroma/web/activity_pub/transmogrifier_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pleroma/web/activity_pub/transmogrifier_test.exs b/test/pleroma/web/activity_pub/transmogrifier_test.exs
index a25c6fe1b..fcb8d65d1 100644
--- a/test/pleroma/web/activity_pub/transmogrifier_test.exs
+++ b/test/pleroma/web/activity_pub/transmogrifier_test.exs
@@ -644,9 +644,9 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do
user = insert(:user)
{:ok, activity} = CommonAPI.post(user, %{status: "Cześć", language: "pl"})
- {:ok, modified} = Transmogrifier.prepare_object(activity.object.data)
+ object = Transmogrifier.prepare_object(activity.object.data)
- assert %{"contentMap" => %{"pl" => "Cześć"}} = modified["object"]
+ assert %{"contentMap" => %{"pl" => "Cześć"}} = object
end
end
end