]> source.dussan.org Git - redmine.git/commitdiff
Fixes test broken by r1610.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 3 Jul 2008 16:22:51 +0000 (16:22 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 3 Jul 2008 16:22:51 +0000 (16:22 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1616 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/project_test.rb

index f24e7d44f90f31ef0fc2e25454388aa780d2a924..91fab8208b770fefa849ba1e1afaaf90a7ee0d1f 100644 (file)
@@ -118,6 +118,7 @@ class ProjectTest < Test::Unit::TestCase
   \r
   def test_rolled_up_trackers\r
     parent = Project.find(1)\r
+    parent.trackers = Tracker.find([1,2])\r
     child = parent.children.find(3)\r
   \r
     assert_equal [1, 2], parent.tracker_ids\r