change Repo.get(Activity, id) => Activity.get_by_id(id) in tests
This commit is contained in:
parent
1b3d921921
commit
11c2d6bdc4
10 changed files with 32 additions and 33 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue