mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 19:47:14 +00:00
Fix random failing test (#37255).
git-svn-id: https://svn.redmine.org/redmine/trunk@21662 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
6ffbd3c29e
commit
e6ec471c60
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user