13 lines
306 B
Elixir
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
|