summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/views
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-11-12 18:36:50 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-11-12 18:45:28 +0700
commite6d7e27bd603806e96dfc2774f90cadb3cf73a8c (patch)
tree96b9c5de9bc8c43ee3bcd1e449bb19cec950a6e6 /test/web/mastodon_api/views
parent61fc739ab8917ccb5a12d6ab6db6130dc231990b (diff)
downloadpleroma-e6d7e27bd603806e96dfc2774f90cadb3cf73a8c.tar.gz
pleroma-e6d7e27bd603806e96dfc2774f90cadb3cf73a8c.zip
Add `allow_following_move` setting to User
Diffstat (limited to 'test/web/mastodon_api/views')
-rw-r--r--test/web/mastodon_api/views/account_view_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/views/account_view_test.exs b/test/web/mastodon_api/views/account_view_test.exs
index af88841ed..3aa5d2e3b 100644
--- a/test/web/mastodon_api/views/account_view_test.exs
+++ b/test/web/mastodon_api/views/account_view_test.exs
@@ -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