summaryrefslogtreecommitdiff
path: root/test/user/notification_setting_test.exs
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2020-07-26 15:46:14 -0500
committerAlex Gleason <alex@alexgleason.me>2020-07-26 15:46:14 -0500
commit6931dbfa582f0e5360e74dffdceee1b9ed564b17 (patch)
tree1504bbc09a53d5c117ffc671b9816ddf30e075cf /test/user/notification_setting_test.exs
parent15f8921b111bc38d0d9eb9ccd1fd09e41cdbc85e (diff)
parenta7616dec8c43309975cbdfcdd6a1808b56aa66e6 (diff)
downloadpleroma-6931dbfa582f0e5360e74dffdceee1b9ed564b17.tar.gz
pleroma-6931dbfa582f0e5360e74dffdceee1b9ed564b17.zip
Merge remote-tracking branch 'upstream/develop' into by-approval
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