diff options
author | tusooa <tusooa@kazv.moe> | 2022-11-20 01:06:21 -0500 |
---|---|---|
committer | tusooa <tusooa@kazv.moe> | 2022-11-20 01:06:21 -0500 |
commit | afe4bb2307147a160a2024f75679c97fea0cd7d1 (patch) | |
tree | 5eb975dc83698c72952e60e07539ac52ee71a669 /test | |
parent | 9d99e76a3ae7c1af8b6b03bf88534f3959b62544 (diff) | |
download | pleroma-afe4bb2307147a160a2024f75679c97fea0cd7d1.tar.gz pleroma-afe4bb2307147a160a2024f75679c97fea0cd7d1.zip |
Fix UtilsTest
Diffstat (limited to 'test')
-rw-r--r-- | test/pleroma/web/activity_pub/utils_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pleroma/web/activity_pub/utils_test.exs b/test/pleroma/web/activity_pub/utils_test.exs index e42893849..365f03010 100644 --- a/test/pleroma/web/activity_pub/utils_test.exs +++ b/test/pleroma/web/activity_pub/utils_test.exs @@ -473,7 +473,7 @@ defmodule Pleroma.Web.ActivityPub.UtilsTest do content = "foobar" target_ap_id = target_account.ap_id - activity_ap_id = activity.data["id"] + object_ap_id = activity.object.data["id"] res = Utils.make_flag_data( @@ -489,7 +489,7 @@ defmodule Pleroma.Web.ActivityPub.UtilsTest do note_obj = %{ "type" => "Note", - "id" => activity_ap_id, + "id" => object_ap_id, "content" => content, "published" => activity.object.data["published"], "actor" => |