@@ -115,6 +115,9 class AccountTest < Redmine::IntegrationTest | |||||
115 | assert !token.expired? |
|
115 | assert !token.expired? | |
116 |
|
116 | |||
117 | get "/account/lost_password", :token => token.value |
|
117 | get "/account/lost_password", :token => token.value | |
|
118 | assert_redirected_to '/account/lost_password' | |||
|
119 | ||||
|
120 | follow_redirect! | |||
118 | assert_response :success |
|
121 | assert_response :success | |
119 | assert_select 'input[type=hidden][name=token][value=?]', token.value |
|
122 | assert_select 'input[type=hidden][name=token][value=?]', token.value | |
120 | assert_select 'input[name=new_password]' |
|
123 | assert_select 'input[name=new_password]' |
General Comments 0
You need to be logged in to leave comments.
Login now