projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'manifest' into 'develop'
[akkoma]
/
test
/
pleroma
/
web
/
plugs
/
frontend_static_plug_test.exs
diff --git
a/test/pleroma/web/plugs/frontend_static_plug_test.exs
b/test/pleroma/web/plugs/frontend_static_plug_test.exs
index 9d59d3f8ea8ee3d30e212d212cfae91776fd144b..52379b86a6d3355cb0076afb47228afc198bde74 100644
(file)
--- a/
test/pleroma/web/plugs/frontend_static_plug_test.exs
+++ b/
test/pleroma/web/plugs/frontend_static_plug_test.exs
@@
-76,6
+76,8
@@
defmodule Pleroma.Web.Plugs.FrontendStaticPlugTest do
end
test "api routes are detected correctly" do
end
test "api routes are detected correctly" do
+ # If this test fails we have probably added something
+ # new that should be in /api/ instead
expected_routes = [
"api",
"main",
expected_routes = [
"api",
"main",
@@
-92,14
+94,15
@@
defmodule Pleroma.Web.Plugs.FrontendStaticPlugTest do
"internal",
".well-known",
"nodeinfo",
"internal",
".well-known",
"nodeinfo",
- "
web
",
+ "
manifest.json
",
"auth",
"auth",
- "embed",
"proxy",
"proxy",
+ "phoenix",
+ "test",
"user_exists",
"check_password"
]
"user_exists",
"check_password"
]
- assert expected_routes == Pleroma.Web.get_api_routes()
+ assert expected_routes == Pleroma.Web.
Router.
get_api_routes()
end
end
end
end