Merge branch 'manifest' into 'develop'
[akkoma] / test / pleroma / web / plugs / frontend_static_plug_test.exs
index b5801320ac63b5cda21fbedf0e556c6ef5492aca..52379b86a6d3355cb0076afb47228afc198bde74 100644 (file)
@@ -76,6 +76,8 @@ defmodule Pleroma.Web.Plugs.FrontendStaticPlugTest 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",
@@ -92,15 +94,15 @@ defmodule Pleroma.Web.Plugs.FrontendStaticPlugTest do
       "internal",
       ".well-known",
       "nodeinfo",
-      "web",
+      "manifest.json",
       "auth",
-      "embed",
       "proxy",
+      "phoenix",
       "test",
       "user_exists",
       "check_password"
     ]
 
-    assert expected_routes == Pleroma.Web.get_api_routes()
+    assert expected_routes == Pleroma.Web.Router.get_api_routes()
   end
 end