nulla/test/nulla_web/controllers/hostmeta_controller_test.exs
2025-06-19 08:45:06 +02:00

13 lines
306 B
Elixir

defmodule NullaWeb.HostmetaControllerTest do
use NullaWeb.ConnCase
describe "GET /.well-known/host-meta" do
test "returns Nodeinfo JSON index", %{conn: conn} do
conn =
conn
|> get(~p"/.well-known/host-meta")
assert response(conn, 200) =~ "localhost"
end
end
end