refactor: add elixir + phoenix skeleton

This commit is contained in:
Schuwi
2025-09-13 22:17:48 +02:00
commit 0a6b7e08e2
48 changed files with 4105 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
defmodule ComponentsElixirWeb.ErrorJSONTest do
use ComponentsElixirWeb.ConnCase, async: true
test "renders 404" do
assert ComponentsElixirWeb.ErrorJSON.render("404.json", %{}) == %{errors: %{detail: "Not Found"}}
end
test "renders 500" do
assert ComponentsElixirWeb.ErrorJSON.render("500.json", %{}) ==
%{errors: %{detail: "Internal Server Error"}}
end
end