summaryrefslogtreecommitdiff
path: root/test/user_test.exs
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-04-02 17:08:03 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-04-02 17:08:03 +0700
commit11c2d6bdc458d40616e677ff71e471bd827344ee (patch)
tree805d6b8ca800e55d956bf6e80b18f10ad5912847 /test/user_test.exs
parent1b3d92192194baf6b431cd9f0ce58062d1b703d5 (diff)
downloadpleroma-11c2d6bdc458d40616e677ff71e471bd827344ee.tar.gz
pleroma-11c2d6bdc458d40616e677ff71e471bd827344ee.zip
change `Repo.get(Activity, id)` => `Activity.get_by_id(id)` in tests
Diffstat (limited to 'test/user_test.exs')
-rw-r--r--test/user_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/user_test.exs b/test/user_test.exs
index 0f5cd65c9..f340bde61 100644
--- a/test/user_test.exs
+++ b/test/user_test.exs
@@ -820,7 +820,7 @@ defmodule Pleroma.UserTest do
# TODO: Remove favorites, repeats, delete activities.
- refute Repo.get(Activity, activity.id)
+ refute Activity.get_by_id(activity.id)
end
test "get_public_key_for_ap_id fetches a user that's not in the db" do