]> source.dussan.org Git - redmine.git/commitdiff
Fixed potential test failure.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 28 Feb 2012 05:25:04 +0000 (05:25 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 28 Feb 2012 05:25:04 +0000 (05:25 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9024 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/project_test.rb

index 0c45420b669361cbf33221e48e907aba0e3a0198..cc89696a18546ed5f8b9867a7dd97b9e6d34d6c8 100644 (file)
@@ -104,7 +104,7 @@ class ProjectTest < ActiveSupport::TestCase
     end
 
     assert_equal Tracker.all, Project.new.trackers
-    assert_equal Tracker.find(1, 3), Project.new(:tracker_ids => [1, 3]).trackers
+    assert_equal Tracker.find(1, 3).sort, Project.new(:tracker_ids => [1, 3]).trackers.sort
   end
 
   def test_update