summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/integration/sessions_test.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/integration/sessions_test.rb b/test/integration/sessions_test.rb
index 2229986d6..1ae4310af 100644
--- a/test/integration/sessions_test.rb
+++ b/test/integration/sessions_test.rb
@@ -71,11 +71,14 @@ class SessionsTest < Redmine::IntegrationTest
get '/my/password'
assert_response 200
- post '/my/password', :params => {
+ post(
+ '/my/password',
+ :params => {
:password => 'jsmith',
:new_password => 'secret123',
:new_password_confirmation => 'secret123'
}
+ )
assert_response 302
assert_not_equal token, session[:tk]