diff options
author | marcin mikołajczak <git@mkljczk.pl> | 2024-08-12 12:25:12 +0200 |
---|---|---|
committer | marcin mikołajczak <git@mkljczk.pl> | 2024-08-12 12:25:12 +0200 |
commit | 29f7ab71169482a68c24729c6cf7607d43d8224d (patch) | |
tree | 8029ba394fd5e6519de484a921fe01f051de2920 | |
parent | 6e53e94bdab91044ffa24e9d6585fdde1727b0f5 (diff) | |
download | pleroma-29f7ab71169482a68c24729c6cf7607d43d8224d.tar.gz pleroma-29f7ab71169482a68c24729c6cf7607d43d8224d.zip |
Update test as /api/v1/endorsements is not a stub
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
-rw-r--r-- | test/pleroma/web/mastodon_api/mastodon_api_controller_test.exs | 9 |
1 files 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 index 8e7fe4013..97ae3d37b 100644 --- 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 |