mirror of
https://github.com/redmine/redmine.git
synced 2026-03-25 22:00:43 +01: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user