- Remove remaining home-assistant-integration/ and dev-config/ - Move dashboard to repo root for proper monorepo layout - Remove crash dumps and symlinks - Clean structure: server/ and dashboard/ at root level
13 lines
362 B
Elixir
13 lines
362 B
Elixir
defmodule DashboardWeb.ErrorJSONTest do
|
|
use DashboardWeb.ConnCase, async: true
|
|
|
|
test "renders 404" do
|
|
assert DashboardWeb.ErrorJSON.render("404.json", %{}) == %{errors: %{detail: "Not Found"}}
|
|
end
|
|
|
|
test "renders 500" do
|
|
assert DashboardWeb.ErrorJSON.render("500.json", %{}) ==
|
|
%{errors: %{detail: "Internal Server Error"}}
|
|
end
|
|
end
|