From ff872c7e918e925f3d958ebde3c61563109c3552 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Mon, 20 Jun 2022 15:17:46 +0000 Subject: [PATCH] Merged r21664 to 5.0-stable (#37138). git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21666 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/lib/redmine/acts/mentionable_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/lib/redmine/acts/mentionable_test.rb b/test/unit/lib/redmine/acts/mentionable_test.rb index cf01c3289..0ea6ecfae 100644 --- a/test/unit/lib/redmine/acts/mentionable_test.rb +++ b/test/unit/lib/redmine/acts/mentionable_test.rb @@ -40,7 +40,7 @@ class Redmine::Acts::MentionableTest < ActiveSupport::TestCase issue = Issue.generate!(project_id: 1, description: '@dlopper and @foo@example.net') - assert_equal [User.find(3), user], issue.mentioned_users + assert_equal [3, user.id], issue.mentioned_users.ids.sort end def test_mentioned_users_with_multiple_mentions -- 2.39.5