Fix incorrect test description
authorMark Felder <feld@FreeBSD.org>
Tue, 17 Nov 2020 21:34:18 +0000 (21:34 +0000)
committerMark Felder <feld@FreeBSD.org>
Tue, 17 Nov 2020 21:34:18 +0000 (21:34 +0000)
test/pleroma/web/mastodon_api/controllers/subscription_controller_test.exs

index 9e021a2b64d5d6d0f07a956aacc428aeb2b4e544..955cd9912fb2cecf8283273a8ec99037c651868d 100644 (file)
@@ -46,7 +46,7 @@ defmodule Pleroma.Web.MastodonAPI.SubscriptionControllerTest do
   end
 
   describe "creates push subscription" do
-    test "returns error when push disabled ", %{conn: conn} do
+    test "does not return unsupported types", %{conn: conn} do
       assert_error_when_disable_push do
         conn
         |> post("/api/v1/push/subscription", %{subscription: @sub})