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

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6736 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-08-29 12:39:04 +00:00
parent 3516cea1d6
commit 73c8ef296b
1 changed files with 2 additions and 1 deletions

View 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