]> source.dussan.org Git - redmine.git/commitdiff
Moved tracker_id param.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 30 Oct 2015 19:45:32 +0000 (19:45 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 30 Oct 2015 19:45:32 +0000 (19:45 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@14772 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/issues_test.rb

index 4dceaa27aa6db0ece7bd4d4d622f59a803564a59..e8387535ed59252b1e14d7a65527ae8fe0ac89c1 100644 (file)
@@ -37,13 +37,15 @@ class IssuesTest < Redmine::IntegrationTest
   # create an issue
   def test_add_issue
     log_user('jsmith', 'jsmith')
-    get '/projects/ecookbook/issues/new', :tracker_id => '1'
+
+    get '/projects/ecookbook/issues/new'
     assert_response :success
     assert_template 'issues/new'
 
     issue = new_record(Issue) do
-      post '/projects/ecookbook/issues', :tracker_id => "1",
-                                 :issue => { :start_date => "2006-12-26",
+      post '/projects/ecookbook/issues',
+                                 :issue => { :tracker_id => "1",
+                                             :start_date => "2006-12-26",
                                              :priority_id => "4",
                                              :subject => "new test issue",
                                              :category_id => "",