summaryrefslogtreecommitdiff
path: root/test/user/notification_setting_test.exs
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-07-15 13:34:27 -0500
committerMark Felder <feld@FreeBSD.org>2020-07-15 13:34:27 -0500
commitb2d398b1d04cd2c258e830e3bb5c49c8b294d139 (patch)
treec9cd8e48813bdab768f216b4fb06528f6869d626 /test/user/notification_setting_test.exs
parent7115c5f82efe1ca1817da3152ba3cbc66e0da1a4 (diff)
parent00f9b53f07346d052adab105bde3428c98fc4660 (diff)
downloadpleroma-b2d398b1d04cd2c258e830e3bb5c49c8b294d139.tar.gz
pleroma-b2d398b1d04cd2c258e830e3bb5c49c8b294d139.zip
Merge branch 'develop' into refactor/gun-pool-registry
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