]> source.dussan.org Git - redmine.git/commitdiff
Fix test in 3.3-stable (#14817).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 20 Dec 2016 15:48:15 +0000 (15:48 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 20 Dec 2016 15:48:15 +0000 (15:48 +0000)
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16104 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/timelog_controller_test.rb

index bb8d2ba7b758c67c75d89dd49ecbb69529f3426e..b1c64f5d405f9f5dbf551312da6313c4dea23a0c 100644 (file)
@@ -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