diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2022-06-20 15:09:36 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2022-06-20 15:09:36 +0000 |
commit | e6ec471c60b6ed21d37044f6fcce57e4a3d82eee (patch) | |
tree | 12cff214a12de42707b7f4f2a92b4ee5146df3da /test | |
parent | 6ffbd3c29e33b0396b825df3251f286af5c16644 (diff) | |
download | redmine-e6ec471c60b6ed21d37044f6fcce57e4a3d82eee.tar.gz redmine-e6ec471c60b6ed21d37044f6fcce57e4a3d82eee.zip |
Fix random failing test (#37255).
git-svn-id: https://svn.redmine.org/redmine/trunk@21662 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-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 |