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

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6738 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-08-29 12:40:32 +00:00
parent 707ea877eb
commit 7f0e81835c
1 changed files with 2 additions and 2 deletions

View File

@ -183,10 +183,10 @@ class ChangesetTest < ActiveSupport::TestCase
r = Repository::Subversion.create!( r = Repository::Subversion.create!(
:project => Project.find(3), :project => Project.find(3),
:url => 'svn://localhost/test') :url => 'svn://localhost/test')
c = Changeset.new(:repository => r, c = Changeset.new(:repository => r,
:committed_on => Time.now, :committed_on => Time.now,
:comments => 'refs #2, an issue of a parent project') :comments => 'refs #2, an issue of a parent project',
:revision => '12345')
c.scan_comment_for_issue_ids c.scan_comment_for_issue_ids
assert_equal [2], c.issue_ids.sort assert_equal [2], c.issue_ids.sort