summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-12-09 14:30:35 +0000
committerlain <lain@soykaf.club>2019-12-09 14:30:35 +0000
commite4ea0e20b32152a7f7497c2ec8ebbe5c71b3db47 (patch)
treea4e7c4469be886a588f54112910ea647a6e61b17 /test/web/mastodon_api
parent8d2ca85cea7285330c724096b668b4b56b77caf8 (diff)
parent4692919ea68d30fbd1147ad9415a4573e31023be (diff)
downloadpleroma-e4ea0e20b32152a7f7497c2ec8ebbe5c71b3db47.tar.gz
pleroma-e4ea0e20b32152a7f7497c2ec8ebbe5c71b3db47.zip
Merge branch 'issue/1342' into 'develop'
[#1342] Added privacy option to push notifications See merge request pleroma/pleroma!1920
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 ed6f2ecbd..5e297d129 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 %{