commit: 29f7ab71169482a68c24729c6cf7607d43d8224d
parent 6e53e94bdab91044ffa24e9d6585fdde1727b0f5
Author: marcin mikołajczak <git@mkljczk.pl>
Date:   Mon, 12 Aug 2024 12:25:12 +0200
Update test as /api/v1/endorsements is not a stub
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Diffstat:
1 file changed, 0 insertions(+), 9 deletions(-)
diff --git a/test/pleroma/web/mastodon_api/mastodon_api_controller_test.exs b/test/pleroma/web/mastodon_api/mastodon_api_controller_test.exs
@@ -6,15 +6,6 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
   use Pleroma.Web.ConnCase, async: true
 
   describe "empty_array/2 (stubs)" do
-    test "GET /api/v1/endorsements" do
-      %{conn: conn} = oauth_access(["read:accounts"])
-
-      assert [] ==
-               conn
-               |> get("/api/v1/endorsements")
-               |> json_response(200)
-    end
-
     test "GET /api/v1/trends", %{conn: conn} do
       assert [] ==
                conn