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