mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
Revert accidental removal of test unrelated to identity proofs
This commit is contained in:
parent
34715b8581
commit
b76dfd8146
1 changed files with 9 additions and 0 deletions
|
@ -6,6 +6,15 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
|
||||||
use Pleroma.Web.ConnCase, async: true
|
use Pleroma.Web.ConnCase, async: true
|
||||||
|
|
||||||
describe "empty_array/2 (stubs)" do
|
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
|
test "GET /api/v1/trends", %{conn: conn} do
|
||||||
assert [] ==
|
assert [] ==
|
||||||
conn
|
conn
|
||||||
|
|
Loading…
Reference in a new issue