test: fix tests
This commit is contained in:
parent
17974d7a12
commit
0a1b52d978
2 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ defmodule MvWeb.UserLive.IndexTest do
|
|||
assert html_de =~ "Benutzer*innen auflisten"
|
||||
|
||||
# Test English translation
|
||||
Gettext.put_locale(MvWeb.Gettext, "en")
|
||||
conn = Plug.Test.init_test_session(conn, locale: "en")
|
||||
{:ok, _view, html_en} = live(conn, "/users")
|
||||
assert html_en =~ "Listing Users"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue