test: fix tests
This commit is contained in:
parent
17974d7a12
commit
0a1b52d978
2 changed files with 2 additions and 2 deletions
|
|
@ -399,7 +399,7 @@ defmodule MvWeb.UserLive.FormTest do
|
|||
|
||||
# Test English labels
|
||||
conn = conn_with_oidc_user(conn, %{email: "admin_en@example.com"})
|
||||
Gettext.put_locale(MvWeb.Gettext, "en")
|
||||
conn = Plug.Test.init_test_session(conn, locale: "en")
|
||||
{:ok, _view, html_en} = live(conn, "/users/new")
|
||||
|
||||
assert html_en =~ "New User"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue