summaryrefslogtreecommitdiffstats
path: root/test/integration/account_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-29 09:14:14 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-29 09:14:14 +0000
commit0554e1f3cb3b47efe6da858113ec4acc0e8f3d3c (patch)
treee62347b91d2e2dc7c7d511d89f914ab2317eddfa /test/integration/account_test.rb
parenta1846a2d4a3695a5e5060b0e95732850d2267567 (diff)
downloadredmine-0554e1f3cb3b47efe6da858113ec4acc0e8f3d3c.tar.gz
redmine-0554e1f3cb3b47efe6da858113ec4acc0e8f3d3c.zip
Fix integration tests for r16287 (#24416).
git-svn-id: http://svn.redmine.org/redmine/trunk@16289 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/account_test.rb')
-rw-r--r--test/integration/account_test.rb3
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]'