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",
"auth",
"embed",
"proxy",
+ "test",
"user_exists",
"check_password"
]
- assert expected_routes == Pleroma.Web.get_api_routes()
+ assert expected_routes == Pleroma.Web.Router.get_api_routes()
end
end