diff options
-rw-r--r-- | test/integration/account_test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/account_test.rb b/test/integration/account_test.rb index b013ad43a..779f24998 100644 --- a/test/integration/account_test.rb +++ b/test/integration/account_test.rb @@ -115,6 +115,9 @@ class AccountTest < Redmine::IntegrationTest assert !token.expired? get "/account/lost_password", :token => token.value + assert_redirected_to '/account/lost_password' + + follow_redirect! assert_response :success assert_select 'input[type=hidden][name=token][value=?]', token.value assert_select 'input[name=new_password]' |