mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-03-13 07:02:41 +00:00
update test
Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
parent
04af8bfd9c
commit
ce4c07cc2b
1 changed files with 2 additions and 2 deletions
|
@ -644,9 +644,9 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do
|
||||||
user = insert(:user)
|
user = insert(:user)
|
||||||
|
|
||||||
{:ok, activity} = CommonAPI.post(user, %{status: "Cześć", language: "pl"})
|
{: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
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue