summaryrefslogtreecommitdiff
path: root/test/user
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2020-07-16 08:53:21 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2020-07-16 08:53:21 +0300
commit6c59fe259d3d8eccc4102baaac64baf2aff301cb (patch)
treeb950bca418d5d12772d1aed1226731f7e23d166c /test/user
parent4e0e19a7060da9f3eb06ffb0bdb816c7dedb720b (diff)
parent3a2b2cb6f2d6ce39ae0d246649189c021c535992 (diff)
downloadpleroma-6c59fe259d3d8eccc4102baaac64baf2aff301cb.tar.gz
pleroma-6c59fe259d3d8eccc4102baaac64baf2aff301cb.zip
Merge branch 'develop' into issue/1023
Diffstat (limited to 'test/user')
-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