fix account urls

This commit is contained in:
Daniel Yrovas 2025-01-09 15:28:23 +11:00
parent 8e1bb5c333
commit e218290e08
Signed by: danielyrovas
SSH key fingerprint: SHA256:1avlGZQpGW038lBkNI5lOS7f0hIPM7ecJen2/P1MCCU
19 changed files with 102 additions and 102 deletions

View file

@ -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