aboutsummaryrefslogtreecommitdiff
path: root/test/web/mastodon_api
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-05-28 10:16:09 -0500
committerMark Felder <feld@FreeBSD.org>2020-05-28 10:16:09 -0500
commit9eea80002673eb1359a2d4369c65a89c42c2f707 (patch)
tree9be8d8041606909c9374e8fb323cf089d918f282 /test/web/mastodon_api
parent089d72d2e6bb1f3c3674162c5c9a7c4988241358 (diff)
downloadpleroma-9eea80002673eb1359a2d4369c65a89c42c2f707.tar.gz
Refactor notification settings
Diffstat (limited to 'test/web/mastodon_api')
-rw-r--r--test/web/mastodon_api/views/account_view_test.exs7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/web/mastodon_api/views/account_view_test.exs b/test/web/mastodon_api/views/account_view_test.exs
index 487ec26c2..2e01689ff 100644
--- a/test/web/mastodon_api/views/account_view_test.exs
+++ b/test/web/mastodon_api/views/account_view_test.exs
@@ -94,10 +94,9 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
user = insert(:user)
notification_settings = %{
- followers: true,
- follows: true,
- non_followers: true,
- non_follows: true,
+ from_followers: true,
+ from_following: true,
+ from_strangers: true,
privacy_option: false
}