diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2022-06-20 15:17:46 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2022-06-20 15:17:46 +0000 |
commit | ff872c7e918e925f3d958ebde3c61563109c3552 (patch) | |
tree | 9252964b88e4765c5603fac928d63bee09a25990 /test/unit | |
parent | 3e12fc1831fba8026e6988b552b24a1918307c5e (diff) | |
download | redmine-ff872c7e918e925f3d958ebde3c61563109c3552.tar.gz redmine-ff872c7e918e925f3d958ebde3c61563109c3552.zip |
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
Diffstat (limited to 'test/unit')
-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 |