fix account urls
This commit is contained in:
parent
8e1bb5c333
commit
e218290e08
19 changed files with 102 additions and 102 deletions
|
@ -13,12 +13,12 @@ defmodule WildWeb.UserConfirmationInstructionsLiveTest do
|
|||
|
||||
describe "Resend confirmation" do
|
||||
test "renders the resend confirmation page", %{conn: conn} do
|
||||
{:ok, _lv, html} = live(conn, ~p"/users/confirm")
|
||||
{:ok, _lv, html} = live(conn, ~p"/account/confirm")
|
||||
assert html =~ "Resend confirmation instructions"
|
||||
end
|
||||
|
||||
test "sends a new confirmation token", %{conn: conn, user: user} do
|
||||
{:ok, lv, _html} = live(conn, ~p"/users/confirm")
|
||||
{:ok, lv, _html} = live(conn, ~p"/account/confirm")
|
||||
|
||||
{:ok, conn} =
|
||||
lv
|
||||
|
@ -35,7 +35,7 @@ defmodule WildWeb.UserConfirmationInstructionsLiveTest do
|
|||
test "does not send confirmation token if user is confirmed", %{conn: conn, user: user} do
|
||||
Repo.update!(Accounts.User.confirm_changeset(user))
|
||||
|
||||
{:ok, lv, _html} = live(conn, ~p"/users/confirm")
|
||||
{:ok, lv, _html} = live(conn, ~p"/account/confirm")
|
||||
|
||||
{:ok, conn} =
|
||||
lv
|
||||
|
@ -50,7 +50,7 @@ defmodule WildWeb.UserConfirmationInstructionsLiveTest do
|
|||
end
|
||||
|
||||
test "does not send confirmation token if email is invalid", %{conn: conn} do
|
||||
{:ok, lv, _html} = live(conn, ~p"/users/confirm")
|
||||
{:ok, lv, _html} = live(conn, ~p"/account/confirm")
|
||||
|
||||
{:ok, conn} =
|
||||
lv
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue