projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'add-deactivated-to-account-view' into 'develop'
[akkoma]
/
test
/
web
/
fallback_test.exs
diff --git
a/test/web/fallback_test.exs
b/test/web/fallback_test.exs
index 514923a20009f9023ff5c74ce540a97209a11bd3..cc78b3ae157ac7d3045a138dd9f137d72ceac6de 100644
(file)
--- a/
test/web/fallback_test.exs
+++ b/
test/web/fallback_test.exs
@@
-24,6
+24,12
@@
defmodule Pleroma.Web.FallbackTest do
|> html_response(200) =~ "<!--server-generated-meta-->"
end
|> html_response(200) =~ "<!--server-generated-meta-->"
end
+ test "GET /api*path", %{conn: conn} do
+ assert conn
+ |> get("/api/foo")
+ |> json_response(404) == %{"error" => "Not implemented"}
+ end
+
test "GET /*path", %{conn: conn} do
assert conn
|> get("/foo")
test "GET /*path", %{conn: conn} do
assert conn
|> get("/foo")