scm: use save instead of scan_comment_for_issue_ids at test_ref_keywords_any_line_start of unit changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6731 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
11a570642b
commit
df294c505d
|
@ -144,8 +144,7 @@ class ChangesetTest < ActiveSupport::TestCase
|
|||
:committed_on => Time.now,
|
||||
:comments => '#1 is the reason of this commit',
|
||||
:revision => '12345')
|
||||
c.scan_comment_for_issue_ids
|
||||
|
||||
assert c.save
|
||||
assert_equal [1], c.issue_ids.sort
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue