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

test/unit/changeset_test.rb

index 69c616e9fb0f93ef5f47f7185b31bff394fc6b7c..902fad3bd0d9988c212a95c5bb3d31fd3a86d10b 100644 (file)
@@ -54,10 +54,10 @@ class ChangesetTest < ActiveSupport::TestCase
   def test_ref_keywords
     Setting.commit_ref_keywords = 'refs'
     Setting.commit_fix_keywords = ''
-
     c = Changeset.new(:repository   => Project.find(1).repository,
                       :committed_on => Time.now,
-                      :comments     => 'Ignores #2. Refs #1')
+                      :comments     => 'Ignores #2. Refs #1',
+                      :revision     => '12345')
     c.scan_comment_for_issue_ids
 
     assert_equal [1], c.issue_ids.sort