]> source.dussan.org Git - redmine.git/commitdiff
IssuesControllerTest randomly fails (#36716).
authorGo MAEDA <maeda@farend.jp>
Thu, 3 Mar 2022 13:55:22 +0000 (13:55 +0000)
committerGo MAEDA <maeda@farend.jp>
Thu, 3 Mar 2022 13:55:22 +0000 (13:55 +0000)
Patch by Vincent Robert.

git-svn-id: http://svn.redmine.org/redmine/trunk@21445 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/issues_controller_test.rb

index f4c269c7e30e993e9305f57d738379b5a6dc4268..9b1842e0d5c8e57f5a3fca5d42698e441d68b440 100644 (file)
@@ -7954,7 +7954,7 @@ class IssuesControllerTest < Redmine::ControllerTest
     end
     copy = Issue.order(:id => :desc).first
     assert_equal 2, copy.watchers.count
-    assert_equal [3, 10], copy.watcher_user_ids
+    assert_equal [3, 10], copy.watcher_user_ids.sort
   end
 
   def test_bulk_copy_should_not_copy_selected_subtasks_twice