Rename notification "privacy_option" setting

This commit is contained in:
Mark Felder 2020-06-26 12:45:46 -05:00
commit 69848d5c97
10 changed files with 45 additions and 26 deletions

View file

@ -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