]> source.dussan.org Git - redmine.git/commitdiff
scm: add dummy revision at test_ref_keywords_allow_brackets_around_multiple_issue_num...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 29 Aug 2011 12:37:37 +0000 (12:37 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 29 Aug 2011 12:37:37 +0000 (12:37 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6734 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/changeset_test.rb

index 015bf6c30775613f4cebe9855331be2396e2008f..978015a4b3f1a3676b6291c7478eecaa3a43ee38 100644 (file)
@@ -160,10 +160,10 @@ class ChangesetTest < ActiveSupport::TestCase
 
   def test_ref_keywords_allow_brackets_around_multiple_issue_numbers
     Setting.commit_ref_keywords = '*'
-
     c = Changeset.new(:repository   => Project.find(1).repository,
                       :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
 
     assert_equal [1,2,3], c.issue_ids.sort