From: Go MAEDA Date: Thu, 12 Oct 2023 09:17:42 +0000 (+0000) Subject: Fix an intermittent test failure in JournalTest (#39180). X-Git-Tag: 5.1.0~61 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ea38a40b7a5b67bd24f1d8eb7b55292476e15a0a;p=redmine.git 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 --- 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