summaryrefslogtreecommitdiff
path: root/test/user/notification_setting_test.exs
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-06-26 12:45:46 -0500
committerMark Felder <feld@FreeBSD.org>2020-06-26 12:45:46 -0500
commit69848d5c97c9e5d4c14fb5613eb174cb81d5026d (patch)
tree02411c5e177dc5ed853d420095237a9eb8442a47 /test/user/notification_setting_test.exs
parentfd5e797379155e5a85deb88dc79f8fbca483948e (diff)
downloadpleroma-69848d5c97c9e5d4c14fb5613eb174cb81d5026d.tar.gz
pleroma-69848d5c97c9e5d4c14fb5613eb174cb81d5026d.zip
Rename notification "privacy_option" setting
Diffstat (limited to 'test/user/notification_setting_test.exs')
-rw-r--r--test/user/notification_setting_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/user/notification_setting_test.exs b/test/user/notification_setting_test.exs
index 95bca22c4..308da216a 100644
--- a/test/user/notification_setting_test.exs
+++ b/test/user/notification_setting_test.exs
@@ -8,11 +8,11 @@ defmodule Pleroma.User.NotificationSettingTest do
alias Pleroma.User.NotificationSetting
describe "changeset/2" do
- test "sets valid privacy option" do
+ test "sets option to hide notification contents" do
changeset =
NotificationSetting.changeset(
%NotificationSetting{},
- %{"privacy_option" => true}
+ %{"hide_notification_contents" => true}
)
assert %Ecto.Changeset{valid?: true} = changeset