summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2019-10-28 12:47:23 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2019-11-28 22:08:30 +0300
commita52da55eb9c6bbf8a08bf1d90d59a48dc25f5907 (patch)
tree766d151dfa013931b636b723746061bbeb4f1429 /test/web/mastodon_api
parentca1acfa314a57f78c2f5f8e60a4bd1380350e483 (diff)
downloadpleroma-a52da55eb9c6bbf8a08bf1d90d59a48dc25f5907.tar.gz
pleroma-a52da55eb9c6bbf8a08bf1d90d59a48dc25f5907.zip
added User.NotificationSetting struct
Diffstat (limited to 'test/web/mastodon_api')
-rw-r--r--test/web/mastodon_api/views/account_view_test.exs8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/web/mastodon_api/views/account_view_test.exs b/test/web/mastodon_api/views/account_view_test.exs
index d147079ab..7feff560c 100644
--- a/test/web/mastodon_api/views/account_view_test.exs
+++ b/test/web/mastodon_api/views/account_view_test.exs
@@ -92,13 +92,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
test "Represent the user account for the account owner" do
user = insert(:user)
- notification_settings = %{
- "followers" => true,
- "follows" => true,
- "non_follows" => true,
- "non_followers" => true
- }
-
+ notification_settings = %Pleroma.User.NotificationSetting{}
privacy = user.default_scope
assert %{