summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-03-05 12:48:47 +0000
committerGo MAEDA <maeda@farend.jp>2020-03-05 12:48:47 +0000
commit7a97dba9ab474274ce012fc0b94734d8f84839d2 (patch)
treefbde3e95e49925a8495f4748d4febb195eb80108 /test
parenta748b9ba58cdcf808aa80261e47d283cb71f0e2c (diff)
downloadredmine-7a97dba9ab474274ce012fc0b94734d8f84839d2.tar.gz
redmine-7a97dba9ab474274ce012fc0b94734d8f84839d2.zip
Fix that IssuesControllerTest occasionally fails (#33100, #4511).
Patch by Vincent Robert. git-svn-id: http://svn.redmine.org/redmine/trunk@19562 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/issues_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index a8710632a..3cd9d459b 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -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