Activity: get_create_activity_by_object_ap_id/1 → get_create_by_object_ap_id/1
This commit is contained in:
parent
2fdbd4d137
commit
98c8184c1f
18 changed files with 52 additions and 53 deletions
|
|
@ -24,7 +24,7 @@ defmodule Pleroma.ActivityTest do
|
|||
test "returns the activity that created an object" do
|
||||
activity = insert(:note_activity)
|
||||
|
||||
found_activity = Activity.get_create_activity_by_object_ap_id(activity.data["object"]["id"])
|
||||
found_activity = Activity.get_create_by_object_ap_id(activity.data["object"]["id"])
|
||||
|
||||
assert activity == found_activity
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue