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

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6718 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-08-29 08:14:46 +00:00
parent 38ba617f99
commit 21dd3e39ec
1 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,8 @@ class ChangesetTest < ActiveSupport::TestCase
c = Changeset.new(:repository => Project.find(1).repository,
:committed_on => Time.now,
:comments => 'New commit (#2). Fixes #1')
:comments => 'New commit (#2). Fixes #1',
:revision => '12345')
c.scan_comment_for_issue_ids
assert_equal [1, 2], c.issue_ids.sort