diff options
author | Go MAEDA <maeda@farend.jp> | 2021-08-13 03:00:52 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2021-08-13 03:00:52 +0000 |
commit | 2af371526c89d9c5b3d1d435188d2b2473eafa4c (patch) | |
tree | 56e277b7428e431c96b8f1a887178d793ee59132 /test | |
parent | 8094f413c0e336ab388791af2a13dd7635e3a75f (diff) | |
download | redmine-2af371526c89d9c5b3d1d435188d2b2473eafa4c.tar.gz redmine-2af371526c89d9c5b3d1d435188d2b2473eafa4c.zip |
Merged r21167 from trunk to 4.1-stable (#35731).
git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@21169 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/users_controller_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb index 8da207bb0..b20f61806 100644 --- a/test/functional/users_controller_test.rb +++ b/test/functional/users_controller_test.rb @@ -237,6 +237,7 @@ class UsersControllerTest < Redmine::ControllerTest get :new assert_response :success assert_select 'input[name=?]', 'user[login]' + assert_select 'label[for=?]>span.required', 'user_password', 1 end def test_create @@ -427,6 +428,7 @@ class UsersControllerTest < Redmine::ControllerTest assert_response :success assert_select 'h2>a+img.gravatar' assert_select 'input[name=?][value=?]', 'user[login]', 'jsmith' + assert_select 'label[for=?]>span.required', 'user_password', 0 end def test_edit_registered_user |