From c2346a0bb8176d426ddf7299b20347ea93336493 Mon Sep 17 00:00:00 2001 From: shibao Date: Thu, 17 Feb 2022 20:45:23 -0500 Subject: [PATCH] pass user reset password controller tests --- .../controllers/user_reset_password_controller_test.exs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/cannery_web/controllers/user_reset_password_controller_test.exs b/test/cannery_web/controllers/user_reset_password_controller_test.exs index 51b1cffc..2e546899 100644 --- a/test/cannery_web/controllers/user_reset_password_controller_test.exs +++ b/test/cannery_web/controllers/user_reset_password_controller_test.exs @@ -34,8 +34,7 @@ defmodule CanneryWeb.UserResetPasswordControllerTest do assert get_flash(conn, :info) =~ dgettext( "prompts", - "If your email is in our system and it has not been confirmed yet, " <> - "you will receive an email with instructions shortly." + "If your email is in our system, you will receive instructions to reset your password shortly." ) assert Repo.get_by!(Accounts.UserToken, user_id: user.id).context == "reset_password" @@ -52,8 +51,7 @@ defmodule CanneryWeb.UserResetPasswordControllerTest do assert get_flash(conn, :info) =~ dgettext( "prompts", - "If your email is in our system and it has not been confirmed yet, " <> - "you will receive an email with instructions shortly." + "If your email is in our system, you will receive instructions to reset your password shortly." ) assert Repo.all(Accounts.UserToken) == []