summaryrefslogtreecommitdiffstats
path: root/test/functional/account_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/account_controller_test.rb')
-rw-r--r--test/functional/account_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/account_controller_test.rb b/test/functional/account_controller_test.rb
index 083b2bafd..4954f3292 100644
--- a/test/functional/account_controller_test.rb
+++ b/test/functional/account_controller_test.rb
@@ -30,8 +30,8 @@ class AccountControllerTest < Redmine::ControllerTest
get :login
assert_response :success
- assert_select 'input[name=username]'
- assert_select 'input[name=password]'
+ assert_select 'input[name=username][autocomplete=username]'
+ assert_select 'input[name=password][autocomplete=current-password]'
end
def test_get_login_while_logged_in_should_redirect_to_back_url_if_present