diff options
author | rinpatch <rinpatch@sdf.org> | 2019-06-03 11:14:52 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-06-03 11:14:52 +0300 |
commit | 026b245dbc2900d90a737f024b87453bf552b62b (patch) | |
tree | 8bab0696129f9ba0154879f831cb7543b508a9f2 /test/web/twitter_api/util_controller_test.exs | |
parent | 5bd41fef8b5aeff53ed6b096e04507d51c93a83a (diff) | |
parent | 1236c5dbf55d631b10ad0e73836a2a9cd43ddaa8 (diff) | |
download | pleroma-026b245dbc2900d90a737f024b87453bf552b62b.tar.gz pleroma-026b245dbc2900d90a737f024b87453bf552b62b.zip |
Merge branch 'develop' into feature/polls-2-electric-boogalo
Diffstat (limited to 'test/web/twitter_api/util_controller_test.exs')
-rw-r--r-- | test/web/twitter_api/util_controller_test.exs | 9 |
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 |