diff options
author | Ivan Tashkinov <ivant.business@gmail.com> | 2019-04-02 14:05:34 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivant.business@gmail.com> | 2019-04-02 14:05:34 +0300 |
commit | 37925cbe78b7fc73f28cc85ffcf1e16fb00f7a24 (patch) | |
tree | 2e3f848e697426f4b79d8e02a2ba20df12368ca9 /test/web/ostatus/activity_representer_test.exs | |
parent | 590c935d95f0ea4fb65994027a88a0623527af88 (diff) | |
parent | 091baf93169895c62418ccee81b80d00416aaa56 (diff) | |
download | pleroma-37925cbe78b7fc73f28cc85ffcf1e16fb00f7a24.tar.gz pleroma-37925cbe78b7fc73f28cc85ffcf1e16fb00f7a24.zip |
Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth
# Conflicts:
# lib/pleroma/web/oauth/oauth_controller.ex
# lib/pleroma/web/router.ex
Diffstat (limited to 'test/web/ostatus/activity_representer_test.exs')
-rw-r--r-- | test/web/ostatus/activity_representer_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/ostatus/activity_representer_test.exs b/test/web/ostatus/activity_representer_test.exs index 5cb135b4c..a4bb68c4d 100644 --- a/test/web/ostatus/activity_representer_test.exs +++ b/test/web/ostatus/activity_representer_test.exs @@ -116,10 +116,10 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenterTest do {:ok, announce, _object} = ActivityPub.announce(user, object) - announce = Repo.get(Activity, announce.id) + announce = Activity.get_by_id(announce.id) note_user = User.get_cached_by_ap_id(note.data["actor"]) - note = Repo.get(Activity, note.id) + note = Activity.get_by_id(note.id) note_xml = ActivityRepresenter.to_simple_form(note, note_user, true) |