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:
parent
707ea877eb
commit
7f0e81835c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue