summaryrefslogtreecommitdiffstats
path: root/test/unit/journal_test.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-10-12 09:17:42 +0000
committerGo MAEDA <maeda@farend.jp>2023-10-12 09:17:42 +0000
commitea38a40b7a5b67bd24f1d8eb7b55292476e15a0a (patch)
treefb120cc5ab15876f75d0f00ac590a67237a38efd /test/unit/journal_test.rb
parent4f4ae05349afca75beaeceb6aa6c3b5705cbd61b (diff)
downloadredmine-ea38a40b7a5b67bd24f1d8eb7b55292476e15a0a.tar.gz
redmine-ea38a40b7a5b67bd24f1d8eb7b55292476e15a0a.zip
Fix an intermittent test failure in JournalTest (#39180).
Patch by Vincent Robert. git-svn-id: https://svn.redmine.org/redmine/trunk@22336 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/journal_test.rb')
-rw-r--r--test/unit/journal_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/journal_test.rb b/test/unit/journal_test.rb
index 373de93a2..42843e37c 100644
--- a/test/unit/journal_test.rb
+++ b/test/unit/journal_test.rb
@@ -279,6 +279,6 @@ class JournalTest < ActiveSupport::TestCase
# User "dlopper" has "Developer" role on project "eCookbook"
# Role "Developer" does not have the "View private notes" permission
- assert_equal [1, 2], journal.notified_mentions.map(&:id)
+ assert_equal [1, 2], journal.notified_mentions.map(&:id).sort
end
end