mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-20 15:31:12 +00:00
Fix integration tests for r16287 (#24416).
git-svn-id: http://svn.redmine.org/redmine/trunk@16289 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a1846a2d4a
commit
0554e1f3cb
@ -115,6 +115,9 @@ class AccountTest < Redmine::IntegrationTest
|
|||||||
assert !token.expired?
|
assert !token.expired?
|
||||||
|
|
||||||
get "/account/lost_password", :token => token.value
|
get "/account/lost_password", :token => token.value
|
||||||
|
assert_redirected_to '/account/lost_password'
|
||||||
|
|
||||||
|
follow_redirect!
|
||||||
assert_response :success
|
assert_response :success
|
||||||
assert_select 'input[type=hidden][name=token][value=?]', token.value
|
assert_select 'input[type=hidden][name=token][value=?]', token.value
|
||||||
assert_select 'input[name=new_password]'
|
assert_select 'input[name=new_password]'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user