mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-23 13:44:32 +01:00
Formats.
This commit is contained in:
parent
dca1c3ae4a
commit
7e19e41621
1 changed files with 3 additions and 1 deletions
|
@ -21,7 +21,9 @@ defmodule PhilomenaWeb.ReactivationControllerTest do
|
|||
test "reactivate account page works", %{conn: conn, user: user} do
|
||||
conn = delete(conn, ~p"/deactivations")
|
||||
|
||||
{:ok, email} = Users.deliver_user_reactivation_instructions(user, &url(~p"/reactivations/#{&1}"))
|
||||
{:ok, email} =
|
||||
Users.deliver_user_reactivation_instructions(user, &url(~p"/reactivations/#{&1}"))
|
||||
|
||||
{token, url} = extract_reactivation_link_from_email(email)
|
||||
|
||||
assert token != nil
|
||||
|
|
Loading…
Reference in a new issue