Add allow_following_move setting to User

This commit is contained in:
Egor Kislitsyn 2019-11-12 18:36:50 +07:00
commit e6d7e27bd6
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
10 changed files with 59 additions and 30 deletions

View file

@ -102,7 +102,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
privacy = user.default_scope
assert %{
pleroma: %{notification_settings: ^notification_settings},
pleroma: %{notification_settings: ^notification_settings, allow_following_move: true},
source: %{privacy: ^privacy}
} = AccountView.render("show.json", %{user: user, for: user})
end