##// END OF EJS Templates
scm: add dummy revision at test_ref_keywords_any_only of unit changeset test....
Toshi MARUYAMA -
r6608:eb01e6c1de72
parent child
Show More
@@ -65,10 +65,10 class ChangesetTest < ActiveSupport::TestCase
65 def test_ref_keywords_any_only
65 def test_ref_keywords_any_only
66 Setting.commit_ref_keywords = '*'
66 Setting.commit_ref_keywords = '*'
67 Setting.commit_fix_keywords = ''
67 Setting.commit_fix_keywords = ''
68
69 c = Changeset.new(:repository => Project.find(1).repository,
68 c = Changeset.new(:repository => Project.find(1).repository,
70 :committed_on => Time.now,
69 :committed_on => Time.now,
71 :comments => 'Ignores #2. Refs #1')
70 :comments => 'Ignores #2. Refs #1',
71 :revision => '12345')
72 c.scan_comment_for_issue_ids
72 c.scan_comment_for_issue_ids
73
73
74 assert_equal [1, 2], c.issue_ids.sort
74 assert_equal [1, 2], c.issue_ids.sort
General Comments 0
You need to be logged in to leave comments. Login now