diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2019-06-04 16:28:23 +0700 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2019-06-04 16:28:23 +0700 |
commit | 9ce928d8238877f870e099cb2fe010d322717856 (patch) | |
tree | 5ef9fb748ea007f31e1ce39a091e66f808672374 /test/web/twitter_api/util_controller_test.exs | |
parent | a7affbdd6d46caddea05ee6b34e0b2a24a62e721 (diff) | |
parent | d977d73b91dbf8e9129de0478c51114d7d462edf (diff) | |
download | pleroma-9ce928d8238877f870e099cb2fe010d322717856.tar.gz pleroma-9ce928d8238877f870e099cb2fe010d322717856.zip |
Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
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 |