scm: add dummy revision at test_ref_keywords_allow_brackets_around_multiple_issue_numbers of unit changeset test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6734 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-08-29 12:37:37 +00:00
parent cb27655ad9
commit 78260c5522
1 changed files with 2 additions and 2 deletions

View File

@ -160,10 +160,10 @@ class ChangesetTest < ActiveSupport::TestCase
def test_ref_keywords_allow_brackets_around_multiple_issue_numbers def test_ref_keywords_allow_brackets_around_multiple_issue_numbers
Setting.commit_ref_keywords = '*' Setting.commit_ref_keywords = '*'
c = Changeset.new(:repository => Project.find(1).repository, c = Changeset.new(:repository => Project.find(1).repository,
:committed_on => Time.now, :committed_on => Time.now,
:comments => '[#1 #2, #3] Worked on these') :comments => '[#1 #2, #3] Worked on these',
:revision => '12345')
c.scan_comment_for_issue_ids c.scan_comment_for_issue_ids
assert_equal [1,2,3], c.issue_ids.sort assert_equal [1,2,3], c.issue_ids.sort