diff options
author | Maksim Pechnikov <parallel588@gmail.com> | 2019-10-29 22:23:19 +0300 |
---|---|---|
committer | Maksim Pechnikov <parallel588@gmail.com> | 2019-10-29 22:23:19 +0300 |
commit | b27a92e8faacb25540f08e32f68f37555a889aff (patch) | |
tree | e496b859774953b644008bd7d831b65d25bc7617 /test/web/mastodon_api/controllers/account_controller_test.exs | |
parent | 922e3d082c38ccd108710e21d4bda8e65b551f9c (diff) | |
parent | eba8acff094cd63088f74424f14c9d807bb8e862 (diff) | |
download | pleroma-b27a92e8faacb25540f08e32f68f37555a889aff.tar.gz |
Merge branch 'develop' into issue/1276
Diffstat (limited to 'test/web/mastodon_api/controllers/account_controller_test.exs')
-rw-r--r-- | test/web/mastodon_api/controllers/account_controller_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/controllers/account_controller_test.exs b/test/web/mastodon_api/controllers/account_controller_test.exs index 00c83fd7b..8fc2d9300 100644 --- a/test/web/mastodon_api/controllers/account_controller_test.exs +++ b/test/web/mastodon_api/controllers/account_controller_test.exs @@ -471,7 +471,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do conn = build_conn() - |> assign(:user, follower) + |> assign(:user, User.get_cached_by_id(follower.id)) |> post("/api/v1/accounts/#{followed.id}/follow?reblogs=true") assert %{"showing_reblogs" => true} = json_response(conn, 200) |