summaryrefslogtreecommitdiff
path: root/test/user/notification_setting_test.exs
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-10-14 15:27:15 -0500
committerMark Felder <feld@FreeBSD.org>2020-10-14 15:27:15 -0500
commit1fb9452131721456adf2c19c513e6343f64825a7 (patch)
tree20c679c19e83925e0fcb0d34aba7eaf831485f58 /test/user/notification_setting_test.exs
parentbc3db724030707e9903d161a70b10fe217a83212 (diff)
parent20137056900f97af34f4433858cbdf69be6c9840 (diff)
downloadpleroma-1fb9452131721456adf2c19c513e6343f64825a7.tar.gz
pleroma-1fb9452131721456adf2c19c513e6343f64825a7.zip
Merge branch 'develop' into feature/account-export
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