diff options
author | Go MAEDA <maeda@farend.jp> | 2022-07-27 14:05:06 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2022-07-27 14:05:06 +0000 |
commit | 93e24bfccfd2e619587c4b3dfdfb1c5a24101486 (patch) | |
tree | ebe9530ae68aed070744300bdb60f15435e98e40 /test/functional/email_addresses_controller_test.rb | |
parent | 15dcf9553eb5ca6672ddb79eb40263a27649c79b (diff) | |
download | redmine-93e24bfccfd2e619587c4b3dfdfb1c5a24101486.tar.gz redmine-93e24bfccfd2e619587c4b3dfdfb1c5a24101486.zip |
Better validation error message when the domain of email is not allowed (#35450).
Patch by Yuichi HARADA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21739 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/email_addresses_controller_test.rb')
-rw-r--r-- | test/functional/email_addresses_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/email_addresses_controller_test.rb b/test/functional/email_addresses_controller_test.rb index b4f631997..17afe321f 100644 --- a/test/functional/email_addresses_controller_test.rb +++ b/test/functional/email_addresses_controller_test.rb @@ -131,7 +131,7 @@ class EmailAddressesControllerTest < Redmine::ControllerTest } ) assert_response :success - assert_select_error 'Email is invalid' + assert_select_error 'Email contains a domain not allowed (black.example)' end end @@ -147,7 +147,7 @@ class EmailAddressesControllerTest < Redmine::ControllerTest } ) assert_response :success - assert_select_error 'Email is invalid' + assert_select_error 'Email contains a domain not allowed (example.fr)' end end end |