1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Web.MastodonAPI.SuggestionControllerTest do
6 use Pleroma.Web.ConnCase, async: true
8 setup do: oauth_access(["read"])
10 test "returns empty result", %{conn: conn} do
13 |> get("/api/v1/suggestions")
14 |> json_response_and_validate_schema(200)