Created an Elixir PHoenix web framework application project

This commit is contained in:
Alex Tavarez
2025-07-22 16:45:51 -04:00
commit ad270e2490
45 changed files with 2593 additions and 0 deletions

View File

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