summaryrefslogtreecommitdiff
path: root/test/user/notification_setting_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-11-04 16:51:42 +0100
committerlain <lain@soykaf.club>2020-11-04 16:51:42 +0100
commitdd2b3a8da92e0b823ac338657588339fbf2e9c86 (patch)
treebc0cf8bb80ec91ec759484213f567880d5c26a17 /test/user/notification_setting_test.exs
parent8f5589cf667d8dd24da07e58db94225d81a55a7b (diff)
parent78cea44553c936813ffc2c4c47984a64255096ef (diff)
downloadpleroma-dd2b3a8da92e0b823ac338657588339fbf2e9c86.tar.gz
pleroma-dd2b3a8da92e0b823ac338657588339fbf2e9c86.zip
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/expire-mutes
Diffstat (limited to 'test/user/notification_setting_test.exs')
-rw-r--r--test/user/notification_setting_test.exs21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/user/notification_setting_test.exs b/test/user/notification_setting_test.exs
deleted file mode 100644
index 308da216a..000000000
--- a/test/user/notification_setting_test.exs
+++ /dev/null
@@ -1,21 +0,0 @@
-# Pleroma: A lightweight social networking server
-# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
-# SPDX-License-Identifier: AGPL-3.0-only
-
-defmodule Pleroma.User.NotificationSettingTest do
- use Pleroma.DataCase
-
- alias Pleroma.User.NotificationSetting
-
- describe "changeset/2" do
- test "sets option to hide notification contents" do
- changeset =
- NotificationSetting.changeset(
- %NotificationSetting{},
- %{"hide_notification_contents" => true}
- )
-
- assert %Ecto.Changeset{valid?: true} = changeset
- end
- end
-end