summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/status_view_test.exs
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-01-21 07:14:20 +0100
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-01-21 08:00:41 +0100
commit98c8184c1fc013fbd48bd78a2603c8e560038081 (patch)
tree8274d0c40d61976ec41dc71ecbccb49dadcc3eeb /test/web/mastodon_api/status_view_test.exs
parent2fdbd4d137387d4d469d314b641070a9fdc0468c (diff)
downloadpleroma-98c8184c1fc013fbd48bd78a2603c8e560038081.tar.gz
pleroma-98c8184c1fc013fbd48bd78a2603c8e560038081.zip
Activity: get_create_activity_by_object_ap_id/1 → get_create_by_object_ap_id/1
Diffstat (limited to 'test/web/mastodon_api/status_view_test.exs')
-rw-r--r--test/web/mastodon_api/status_view_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/status_view_test.exs b/test/web/mastodon_api/status_view_test.exs
index d30ae6149..e33479368 100644
--- a/test/web/mastodon_api/status_view_test.exs
+++ b/test/web/mastodon_api/status_view_test.exs
@@ -202,7 +202,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
"https://peertube.moe/videos/watch/df5f464b-be8d-46fb-ad81-2d4c2d1630e3"
)
- %Activity{} = activity = Activity.get_create_activity_by_object_ap_id(object.data["id"])
+ %Activity{} = activity = Activity.get_create_by_object_ap_id(object.data["id"])
represented = StatusView.render("status.json", %{for: user, activity: activity})