From: Jean-Philippe Lang Date: Tue, 20 Dec 2016 15:48:15 +0000 (+0000) Subject: Fix test in 3.3-stable (#14817). X-Git-Tag: 3.3.2~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=21a847d01d9e950e5712aab04052e06275fa1baa;p=redmine.git Fix test in 3.3-stable (#14817). git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16104 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/functional/timelog_controller_test.rb b/test/functional/timelog_controller_test.rb index bb8d2ba7b..b1c64f5d4 100644 --- a/test/functional/timelog_controller_test.rb +++ b/test/functional/timelog_controller_test.rb @@ -584,7 +584,7 @@ class TimelogControllerTest < ActionController::TestCase @request.env["HTTP_REFERER"] = referer @request.session[:user_id] = 2 - delete :destroy, :params => {:id => 1} + delete :destroy, :id => 1 assert_redirected_to referer end