This commit is contained in:
tusooa 2022-11-11 18:32:08 -05:00
parent 717c5901f8
commit 7991364380
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224

View file

@ -1175,7 +1175,9 @@ defmodule Pleroma.Web.CommonAPITest do
assert reported_user == target_user.ap_id assert reported_user == target_user.ap_id
assert is_map(reported_activity) assert is_map(reported_activity)
assert reported_activity["content"] == report_data["object"] |> Enum.at(1) |> Map.get("content")
assert reported_activity["content"] ==
report_data["object"] |> Enum.at(1) |> Map.get("content")
end end
test "does not update report state when state is unsupported" do test "does not update report state when state is unsupported" do