aboutsummaryrefslogtreecommitdiff
path: root/test/web/twitter_api
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2019-05-25 05:22:13 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2019-05-25 05:22:13 +0000
commit1542cccbbcc2935add83d1428b4cd9e4b146f1ec (patch)
tree0ae34fc9a526003fcee4d3f5c79f115cbbf9c937 /test/web/twitter_api
parent4030837d91b7ff8525513589d5d810e9a1a6b959 (diff)
downloadpleroma-1542cccbbcc2935add83d1428b4cd9e4b146f1ec.tar.gz
tests: chase notification setting changes
Diffstat (limited to 'test/web/twitter_api')
-rw-r--r--test/web/twitter_api/util_controller_test.exs10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/web/twitter_api/util_controller_test.exs b/test/web/twitter_api/util_controller_test.exs
index 2cd82b3e7..ca0b8cc26 100644
--- a/test/web/twitter_api/util_controller_test.exs
+++ b/test/web/twitter_api/util_controller_test.exs
@@ -110,8 +110,14 @@ defmodule Pleroma.Web.TwitterAPI.UtilControllerTest do
user = Repo.get(User, user.id)
- assert %{"remote" => false, "local" => true, "followers" => false, "follows" => true} ==
- user.info.notification_settings
+ assert %{
+ "remote" => false,
+ "local" => true,
+ "followers" => false,
+ "follows" => true,
+ "non_follows" => true,
+ "non_followers" => true
+ } == user.info.notification_settings
end
end