diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2023-11-16 22:03:56 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2023-11-16 22:03:56 +0000 |
commit | 2564598260ee11e137d39dba0184397e1973e4f1 (patch) | |
tree | ad0a24ea95328b36dd0d1ee18eeb6fd85b04289c | |
parent | d120f7b7d657fa499697c20ed8bacaa6745457cb (diff) | |
download | redmine-2564598260ee11e137d39dba0184397e1973e4f1.tar.gz redmine-2564598260ee11e137d39dba0184397e1973e4f1.zip |
Revert r22442 (#39553).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22443 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/unit/lib/redmine/acts/mentionable_test.rb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/unit/lib/redmine/acts/mentionable_test.rb b/test/unit/lib/redmine/acts/mentionable_test.rb index baf505d98..91fef8eb2 100644 --- a/test/unit/lib/redmine/acts/mentionable_test.rb +++ b/test/unit/lib/redmine/acts/mentionable_test.rb @@ -29,12 +29,9 @@ class Redmine::Acts::MentionableTest < ActiveSupport::TestCase :issues def test_mentioned_users_with_user_mention - to_test = %w(@dlopper @dlopper! @dlopper? @dlopper. @dlopper,) + issue = Issue.generate!(project_id: 1, description: '@dlopper') - to_test.each do |item| - issue = Issue.generate!(project_id: 1, description: item) - assert_equal [User.find(3)], issue.mentioned_users - end + assert_equal [User.find(3)], issue.mentioned_users end def test_mentioned_users_with_user_mention_having_mail_as_login |