projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into 1993-confirm-users...
[akkoma]
/
test
/
web
/
mastodon_api
/
controllers
/
suggestion_controller_test.exs
diff --git
a/test/web/mastodon_api/controllers/suggestion_controller_test.exs
b/test/web/mastodon_api/controllers/suggestion_controller_test.exs
index 8d0e70db86750cf99165a44c903afd25e6331b8c..7f08e187cfcfe650abae8c5b554d0a63b6a2f00c 100644
(file)
--- a/
test/web/mastodon_api/controllers/suggestion_controller_test.exs
+++ b/
test/web/mastodon_api/controllers/suggestion_controller_test.exs
@@
-5,15
+5,13
@@
defmodule Pleroma.Web.MastodonAPI.SuggestionControllerTest do
use Pleroma.Web.ConnCase
defmodule Pleroma.Web.MastodonAPI.SuggestionControllerTest do
use Pleroma.Web.ConnCase
- alias Pleroma.Config
-
setup do: oauth_access(["read"])
test "returns empty result", %{conn: conn} do
res =
conn
|> get("/api/v1/suggestions")
setup do: oauth_access(["read"])
test "returns empty result", %{conn: conn} do
res =
conn
|> get("/api/v1/suggestions")
- |> json_response(200)
+ |> json_response
_and_validate_schema
(200)
assert res == []
end
assert res == []
end