Remove User.user_info/2

This commit is contained in:
Egor Kislitsyn 2019-11-27 19:43:47 +07:00
commit f595cfe623
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
4 changed files with 23 additions and 94 deletions

View file

@ -350,7 +350,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
}
}
assert expected == AccountView.render("show.json", %{user: user, for: other_user})
assert expected ==
AccountView.render("show.json", %{user: refresh_record(user), for: other_user})
end
test "returns the settings store if the requesting user is the represented user and it's requested specifically" do