change Repo.get(Activity, id) => Activity.get_by_id(id) in tests

This commit is contained in:
Egor Kislitsyn 2019-04-02 17:08:03 +07:00
commit 11c2d6bdc4
10 changed files with 32 additions and 33 deletions

View file

@ -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