projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix credo issues
[akkoma]
/
test
/
web
/
fallback_test.exs
diff --git
a/test/web/fallback_test.exs
b/test/web/fallback_test.exs
index cc78b3ae157ac7d3045a138dd9f137d72ceac6de..c13db9526467ad9c13843ef969b7d730d404095a 100644
(file)
--- a/
test/web/fallback_test.exs
+++ b/
test/web/fallback_test.exs
@@
-30,6
+30,10
@@
defmodule Pleroma.Web.FallbackTest do
|> json_response(404) == %{"error" => "Not implemented"}
end
|> json_response(404) == %{"error" => "Not implemented"}
end
+ test "GET /pleroma/admin -> /pleroma/admin/", %{conn: conn} do
+ assert redirected_to(get(conn, "/pleroma/admin")) =~ "/pleroma/admin/"
+ end
+
test "GET /*path", %{conn: conn} do
assert conn
|> get("/foo")
test "GET /*path", %{conn: conn} do
assert conn
|> get("/foo")