diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2019-04-02 17:01:26 +0700 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2019-04-02 17:01:26 +0700 |
commit | 1b3d92192194baf6b431cd9f0ce58062d1b703d5 (patch) | |
tree | 2f81ff81c7b039ccbb482e5212af554a8982ac40 /test/web/ostatus | |
parent | 4212527928020de5b67424f090c67fc20d0844af (diff) | |
download | pleroma-1b3d92192194baf6b431cd9f0ce58062d1b703d5.tar.gz |
change `Repo.get(User, id)` => `User.get_by_id(id)`
Diffstat (limited to 'test/web/ostatus')
-rw-r--r-- | test/web/ostatus/ostatus_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/ostatus/ostatus_test.exs b/test/web/ostatus/ostatus_test.exs index 76b90e186..7b0b43a9d 100644 --- a/test/web/ostatus/ostatus_test.exs +++ b/test/web/ostatus/ostatus_test.exs @@ -344,7 +344,7 @@ defmodule Pleroma.Web.OStatusTest do {:ok, user} = OStatus.find_or_make_user(uri) - user = Repo.get(Pleroma.User, user.id) + user = Pleroma.User.get_by_id(user.id) assert user.name == "Constance Variable" assert user.nickname == "lambadalambda@social.heldscal.la" assert user.local == false |