summaryrefslogtreecommitdiffstats
path: root/test/functional/account_controller_test.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-02-07 03:53:27 +0000
committerGo MAEDA <maeda@farend.jp>2023-02-07 03:53:27 +0000
commitc94296720d191487aa903b7cb0e27e52e37344c8 (patch)
treecb4ac5df66fde274b2f9445145660c600facea70 /test/functional/account_controller_test.rb
parente03bc47e1413a771505dcbf3fbb907d3a689e24a (diff)
downloadredmine-c94296720d191487aa903b7cb0e27e52e37344c8.tar.gz
redmine-c94296720d191487aa903b7cb0e27e52e37344c8.zip
Remove "Unknown user" notification on password request with non-existent email address (#6254).
Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22100 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/account_controller_test.rb')
-rw-r--r--test/functional/account_controller_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/account_controller_test.rb b/test/functional/account_controller_test.rb
index f539f4619..034094e7b 100644
--- a/test/functional/account_controller_test.rb
+++ b/test/functional/account_controller_test.rb
@@ -476,6 +476,7 @@ class AccountControllerTest < Redmine::ControllerTest
}
)
assert_response :success
+ assert_equal I18n.t(:notice_account_lost_email_sent), flash[:notice]
end
end