Fix UtilsTest

This commit is contained in:
tusooa 2022-11-20 01:06:21 -05:00
parent 9d99e76a3a
commit afe4bb2307
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224

View file

@ -473,7 +473,7 @@ defmodule Pleroma.Web.ActivityPub.UtilsTest do
content = "foobar" content = "foobar"
target_ap_id = target_account.ap_id target_ap_id = target_account.ap_id
activity_ap_id = activity.data["id"] object_ap_id = activity.object.data["id"]
res = res =
Utils.make_flag_data( Utils.make_flag_data(
@ -489,7 +489,7 @@ defmodule Pleroma.Web.ActivityPub.UtilsTest do
note_obj = %{ note_obj = %{
"type" => "Note", "type" => "Note",
"id" => activity_ap_id, "id" => object_ap_id,
"content" => content, "content" => content,
"published" => activity.object.data["published"], "published" => activity.object.data["published"],
"actor" => "actor" =>