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

@@ -84,6 +84,6 @@ defmodule Mobilizon.Web.PageView do
end
def language_direction(assigns) do
get_language_direction(assigns.locale)
assigns |> Map.get(:locale, "en") |> get_language_direction()
end
end