diff options
-rw-r--r-- | test/unit/lib/redmine/acts/mentionable_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |