summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api
diff options
context:
space:
mode:
authorAlex S <alex.strizhakov@gmail.com>2019-04-02 20:39:52 +0700
committerAlex S <alex.strizhakov@gmail.com>2019-04-02 20:39:52 +0700
commitfa8483cb808ef4b8b907d7ec0eeb882f3f47d927 (patch)
treec710d397bb2c189026eee910ee910384abb8eab9 /test/web/mastodon_api
parentd140738edf75467420b35c500716cf89de66548d (diff)
parent180b87257cae481d4d9ffc9f03a06268ad8df569 (diff)
downloadpleroma-fa8483cb808ef4b8b907d7ec0eeb882f3f47d927.tar.gz
pleroma-fa8483cb808ef4b8b907d7ec0eeb882f3f47d927.zip
Merging develop into feature/770-add-emoji-tags
Conflict test/web/twitter_api/util_controller_test.exs
Diffstat (limited to 'test/web/mastodon_api')
-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 e1c9b2c8f..8db92ac16 100644
--- a/test/web/mastodon_api/status_view_test.exs
+++ b/test/web/mastodon_api/status_view_test.exs
@@ -175,7 +175,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
status = StatusView.render("status.json", %{activity: activity})
- actor = Repo.get_by(User, ap_id: activity.actor)
+ actor = User.get_by_ap_id(activity.actor)
assert status.mentions ==
Enum.map([user, actor], fn u -> AccountView.render("mention.json", %{user: u}) end)