logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: d9732fb7d318a7a56f2b82478b13fd5d694eb630
parent ccddedb504e5f03655c128edb074671b1f815f24
Author: Mark Felder <feld@FreeBSD.org>
Date:   Tue, 17 Nov 2020 21:34:18 +0000

Fix incorrect test description

Diffstat:

Mtest/pleroma/web/mastodon_api/controllers/subscription_controller_test.exs2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/pleroma/web/mastodon_api/controllers/subscription_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/subscription_controller_test.exs @@ -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})