]> source.dussan.org Git - redmine.git/commitdiff
Fix integration tests for r16287 (#24416).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 29 Jan 2017 09:14:14 +0000 (09:14 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 29 Jan 2017 09:14:14 +0000 (09:14 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@16289 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/account_test.rb

index b013ad43afef041973daec0ac198598a85157c47..779f24998ce8b81f0f966b798d010ceccc66d6ed 100644 (file)
@@ -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]'