scm: add dummy revision at test_ref_keywords of unit changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6726 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
c8c0845c67
commit
b21c000f92
@ -54,10 +54,10 @@ class ChangesetTest < ActiveSupport::TestCase
|
|||||||
def test_ref_keywords
|
def test_ref_keywords
|
||||||
Setting.commit_ref_keywords = 'refs'
|
Setting.commit_ref_keywords = 'refs'
|
||||||
Setting.commit_fix_keywords = ''
|
Setting.commit_fix_keywords = ''
|
||||||
|
|
||||||
c = Changeset.new(:repository => Project.find(1).repository,
|
c = Changeset.new(:repository => Project.find(1).repository,
|
||||||
:committed_on => Time.now,
|
:committed_on => Time.now,
|
||||||
:comments => 'Ignores #2. Refs #1')
|
:comments => 'Ignores #2. Refs #1',
|
||||||
|
:revision => '12345')
|
||||||
c.scan_comment_for_issue_ids
|
c.scan_comment_for_issue_ids
|
||||||
|
|
||||||
assert_equal [1], c.issue_ids.sort
|
assert_equal [1], c.issue_ids.sort
|
||||||
|
Loading…
x
Reference in New Issue
Block a user