diff options
| author | feld <feld@feld.me> | 2020-07-15 15:22:39 +0000 |
|---|---|---|
| committer | feld <feld@feld.me> | 2020-07-15 15:22:39 +0000 |
| commit | 00f9b53f07346d052adab105bde3428c98fc4660 (patch) | |
| tree | 67e501144cffd4c3e70f8dc094793c6b2d2fb7b5 /test/user | |
| parent | 0fe36b311c010f9a4bd3c1600ce874c5403a7368 (diff) | |
| parent | 34d1d3e93e8642f2b784b5b957551af068c0f7ba (diff) | |
| download | pleroma-00f9b53f07346d052adab105bde3428c98fc4660.tar.gz pleroma-00f9b53f07346d052adab105bde3428c98fc4660.zip | |
Merge branch 'refactor/notification_settings' into 'develop'
Refactor notification settings
See merge request pleroma/pleroma!2602
Diffstat (limited to 'test/user')
| -rw-r--r-- | test/user/notification_setting_test.exs | 4 |
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 |
