From ea38a40b7a5b67bd24f1d8eb7b55292476e15a0a Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 12 Oct 2023 09:17:42 +0000 Subject: [PATCH] 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 --- test/unit/journal_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5