aboutsummaryrefslogtreecommitdiff
path: root/test/web/twitter_api/util_controller_test.exs
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2019-06-03 15:29:53 -0500
committerMark Felder <feld@FreeBSD.org>2019-06-03 15:29:53 -0500
commit6ef145b4fc3f2ddb5865e84039c3b56656529711 (patch)
treea10cab9e7561bdaa76777cfc6d0c3c6fe1f8189b /test/web/twitter_api/util_controller_test.exs
parent5cee2fe9fea4f0c98acd49a2a288ecd44bce3d1f (diff)
parent662e95e9484a46bfc72c2edc305aefae99ff68b0 (diff)
downloadpleroma-6ef145b4fc3f2ddb5865e84039c3b56656529711.tar.gz
Merge branch 'develop' into feature/digest-email
Diffstat (limited to 'test/web/twitter_api/util_controller_test.exs')
-rw-r--r--test/web/twitter_api/util_controller_test.exs9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/web/twitter_api/util_controller_test.exs b/test/web/twitter_api/util_controller_test.exs
index 2cd82b3e7..cab9e5d90 100644
--- a/test/web/twitter_api/util_controller_test.exs
+++ b/test/web/twitter_api/util_controller_test.exs
@@ -102,7 +102,6 @@ defmodule Pleroma.Web.TwitterAPI.UtilControllerTest do
conn
|> assign(:user, user)
|> put("/api/pleroma/notification_settings", %{
- "remote" => false,
"followers" => false,
"bar" => 1
})
@@ -110,8 +109,12 @@ 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 %{
+ "followers" => false,
+ "follows" => true,
+ "non_follows" => true,
+ "non_followers" => true
+ } == user.info.notification_settings
end
end