]> source.dussan.org Git - redmine.git/commitdiff
Fix that IssuesControllerTest occasionally fails (#33100, #4511).
authorGo MAEDA <maeda@farend.jp>
Thu, 5 Mar 2020 12:48:47 +0000 (12:48 +0000)
committerGo MAEDA <maeda@farend.jp>
Thu, 5 Mar 2020 12:48:47 +0000 (12:48 +0000)
Patch by Vincent Robert.

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

test/functional/issues_controller_test.rb

index a8710632abe95c8ffa0bd09fb0a258054f6714fb..3cd9d459bda8297bbd81fe9f392c98d4d4d9c20c 100644 (file)
@@ -5242,7 +5242,7 @@ class IssuesControllerTest < Redmine::ControllerTest
       )
     end
     issue = Issue.order('id DESC').first
-    assert_equal [3, 10], issue.watcher_user_ids
+    assert_equal [3, 10], issue.watcher_user_ids.sort
   end
 
   def test_create_as_copy_without_watcher_user_ids_should_not_copy_watchers