Activity: get_create_activity_by_object_ap_id/1 → get_create_by_object_ap_id/1

This commit is contained in:
Haelwenn (lanodan) Monnier 2019-01-21 07:14:20 +01:00
commit 98c8184c1f
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
18 changed files with 52 additions and 53 deletions

View file

@ -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