summaryrefslogtreecommitdiff
path: root/test/activity_test.exs
diff options
context:
space:
mode:
Diffstat (limited to 'test/activity_test.exs')
-rw-r--r--test/activity_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/activity_test.exs b/test/activity_test.exs
index dcac8649a..ad889f544 100644
--- a/test/activity_test.exs
+++ b/test/activity_test.exs
@@ -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