Fix tests for CI

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-09-21 08:32:42 +02:00
parent 151a7e54ae
commit 6a9fba7db8
20 changed files with 164 additions and 34 deletions

View File

@@ -3,10 +3,11 @@ defmodule Mobilizon.Web.ErrorView do
View for errors
"""
use Mobilizon.Web, :view
alias Mobilizon.Web.PageView
@spec render(String.t(), map()) :: map() | String.t() | Plug.Conn.t()
def render("404.html", _assigns) do
render("index.html")
PageView.render("index.html")
end
def render("404.json", _assigns) do