summaryrefslogtreecommitdiff
path: root/test/web/salmon
diff options
context:
space:
mode:
authorEgor <egor@kislitsyn.com>2019-04-22 07:20:43 +0000
committerkaniini <nenolod@gmail.com>2019-04-22 07:20:43 +0000
commitb9cdf6d3b9940fded7d6be9f8771fd9c211afdd4 (patch)
tree4cb4fc190215842d6a14c4a202ff2fda32cc223a /test/web/salmon
parent05862ded7a156ad6db16a70ec90045a2149da97d (diff)
downloadpleroma-b9cdf6d3b9940fded7d6be9f8771fd9c211afdd4.tar.gz
pleroma-b9cdf6d3b9940fded7d6be9f8771fd9c211afdd4.zip
Use `User.get_cached*` everywhere
Diffstat (limited to 'test/web/salmon')
-rw-r--r--test/web/salmon/salmon_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/salmon/salmon_test.exs b/test/web/salmon/salmon_test.exs
index 35503259b..7532578ca 100644
--- a/test/web/salmon/salmon_test.exs
+++ b/test/web/salmon/salmon_test.exs
@@ -99,7 +99,7 @@ defmodule Pleroma.Web.Salmon.SalmonTest do
}
{:ok, activity} = Repo.insert(%Activity{data: activity_data, recipients: activity_data["to"]})
- user = User.get_by_ap_id(activity.data["actor"])
+ user = User.get_cached_by_ap_id(activity.data["actor"])
{:ok, user} = Pleroma.Web.WebFinger.ensure_keys_present(user)
poster = fn url, _data, _headers ->