logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
commit: ce4c07cc2b16d429eaabf324407e7aafd93843a9
parent 04af8bfd9c884dde39dd2073402e70cc219d3c6d
Author: mkljczk <git@mkljczk.pl>
Date:   Mon, 17 Feb 2025 19:21:08 +0100

update test

Signed-off-by: mkljczk <git@mkljczk.pl>

Diffstat:

Mtest/pleroma/web/activity_pub/transmogrifier_test.exs4++--
1 file 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 @@ -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