projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only search in public data for now.
[akkoma]
/
test
/
web
/
views
/
error_view_test.exs
diff --git
a/test/web/views/error_view_test.exs
b/test/web/views/error_view_test.exs
index 48cdc5159e52280f917b4a88b8ef21b26e778707..1d443b1870225f4df2045530269aeb9196c744f9 100644
(file)
--- a/
test/web/views/error_view_test.exs
+++ b/
test/web/views/error_view_test.exs
@@
-5,17
+5,16
@@
defmodule Pleroma.Web.ErrorViewTest do
import Phoenix.View
test "renders 404.json" do
import Phoenix.View
test "renders 404.json" do
- assert render(Pleroma.Web.ErrorView, "404.json", []) ==
- %{errors: %{detail: "Page not found"}}
+ assert render(Pleroma.Web.ErrorView, "404.json", []) == %{errors: %{detail: "Page not found"}}
end
test "render 500.json" do
assert render(Pleroma.Web.ErrorView, "500.json", []) ==
end
test "render 500.json" do
assert render(Pleroma.Web.ErrorView, "500.json", []) ==
- %{errors: %{detail: "Internal server error"}}
+
%{errors: %{detail: "Internal server error"}}
end
test "render any other" do
assert render(Pleroma.Web.ErrorView, "505.json", []) ==
end
test "render any other" do
assert render(Pleroma.Web.ErrorView, "505.json", []) ==
- %{errors: %{detail: "Internal server error"}}
+
%{errors: %{detail: "Internal server error"}}
end
end
end
end