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

test/unit/changeset_test.rb

index d83f16fb1b5efeed447c77efa72d2ac5a90c2fa6..0668834c44b5ef6e987383bef1e97a1f2543d966 100644 (file)
@@ -171,7 +171,8 @@ class ChangesetTest < ActiveSupport::TestCase
   def test_commit_referencing_a_subproject_issue
     c = Changeset.new(:repository   => Project.find(1).repository,
                       :committed_on => Time.now,
-                      :comments     => 'refs #5, a subproject issue')
+                      :comments     => 'refs #5, a subproject issue',
+                      :revision     => '12345')
     c.scan_comment_for_issue_ids
 
     assert_equal [5], c.issue_ids.sort