diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-06-26 12:45:46 -0500 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-06-26 12:45:46 -0500 |
commit | 69848d5c97c9e5d4c14fb5613eb174cb81d5026d (patch) | |
tree | 02411c5e177dc5ed853d420095237a9eb8442a47 /test/web/push/impl_test.exs | |
parent | fd5e797379155e5a85deb88dc79f8fbca483948e (diff) | |
download | pleroma-69848d5c97c9e5d4c14fb5613eb174cb81d5026d.tar.gz pleroma-69848d5c97c9e5d4c14fb5613eb174cb81d5026d.zip |
Rename notification "privacy_option" setting
Diffstat (limited to 'test/web/push/impl_test.exs')
-rw-r--r-- | test/web/push/impl_test.exs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/web/push/impl_test.exs b/test/web/push/impl_test.exs index b48952b29..15de5e853 100644 --- a/test/web/push/impl_test.exs +++ b/test/web/push/impl_test.exs @@ -238,9 +238,9 @@ defmodule Pleroma.Web.Push.ImplTest do } end - test "hides details for notifications when privacy option enabled" do + test "hides contents of notifications when option enabled" do user = insert(:user, nickname: "Bob") - user2 = insert(:user, nickname: "Rob", notification_settings: %{privacy_option: true}) + user2 = insert(:user, nickname: "Rob", notification_settings: %{hide_notification_contents: true}) {:ok, activity} = CommonAPI.post(user, %{ @@ -284,9 +284,9 @@ defmodule Pleroma.Web.Push.ImplTest do } end - test "returns regular content for notifications with privacy option disabled" do + test "returns regular content when hiding contents option disabled" do user = insert(:user, nickname: "Bob") - user2 = insert(:user, nickname: "Rob", notification_settings: %{privacy_option: false}) + user2 = insert(:user, nickname: "Rob", notification_settings: %{hide_notification_contents: false}) {:ok, activity} = CommonAPI.post(user, %{ |