Fix UtilsTest
This commit is contained in:
parent
9d99e76a3a
commit
afe4bb2307
@ -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" =>
|
||||||
|
Loading…
Reference in New Issue
Block a user