Browse Source

Revert adding extra alert types here

features/emoji_reactions_list
Mark Felder 3 years ago
parent
commit
3eaa5335c9
1 changed files with 1 additions and 10 deletions
  1. +1
    -10
      test/pleroma/web/mastodon_api/controllers/subscription_controller_test.exs

+ 1
- 10
test/pleroma/web/mastodon_api/controllers/subscription_controller_test.exs View File

@@ -176,16 +176,7 @@ defmodule Pleroma.Web.MastodonAPI.SubscriptionControllerTest do
test "returns error when push disabled ", %{conn: conn} do test "returns error when push disabled ", %{conn: conn} do
assert_error_when_disable_push do assert_error_when_disable_push do
conn 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) |> json_response_and_validate_schema(403)
end end
end end


Loading…
Cancel
Save