aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-11-17 21:37:17 +0000
committerMark Felder <feld@FreeBSD.org>2020-11-17 21:37:17 +0000
commit3eaa5335c97e0b2697a692614d73897092df0d58 (patch)
tree695fa8fae246b3e3b5e116b75ec6deeeeea890ff
parentd9732fb7d318a7a56f2b82478b13fd5d694eb630 (diff)
downloadpleroma-3eaa5335c97e0b2697a692614d73897092df0d58.tar.gz
Revert adding extra alert types here
-rw-r--r--test/pleroma/web/mastodon_api/controllers/subscription_controller_test.exs11
1 files changed, 1 insertions, 10 deletions
diff --git a/test/pleroma/web/mastodon_api/controllers/subscription_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/subscription_controller_test.exs
index 955cd9912..dd2f9a86e 100644
--- a/test/pleroma/web/mastodon_api/controllers/subscription_controller_test.exs
+++ b/test/pleroma/web/mastodon_api/controllers/subscription_controller_test.exs
@@ -176,16 +176,7 @@ defmodule Pleroma.Web.MastodonAPI.SubscriptionControllerTest do
test "returns error when push disabled ", %{conn: conn} do
assert_error_when_disable_push do
conn
- |> put("/api/v1/push/subscription", %{
- data: %{
- "mention" => false,
- "favourite" => false,
- "follow" => false,
- "reblog" => false,
- "pleroma:chat_mention" => false,
- "pleroma:emoji_reaction" => false
- }
- })
+ |> put("/api/v1/push/subscription", %{data: %{"alerts" => %{"mention" => false}}})
|> json_response_and_validate_schema(403)
end
end