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
This commit is contained in:
Go MAEDA
2023-10-12 09:17:42 +00:00
parent 4f4ae05349
commit ea38a40b7a

View File

@@ -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