@@ -111,7 +111,8 class ChangesetTest < ActiveSupport::TestCase | |||||
111 |
|
111 | |||
112 | def test_ref_keywords_closing_with_timelog |
|
112 | def test_ref_keywords_closing_with_timelog | |
113 | Setting.commit_ref_keywords = '*' |
|
113 | Setting.commit_ref_keywords = '*' | |
114 |
Setting.commit_update_keywords = [{'keywords' => 'fixes , closes', |
|
114 | Setting.commit_update_keywords = [{'keywords' => 'fixes , closes', | |
|
115 | 'status_id' => IssueStatus.where(:is_closed => true).first.id.to_s}] | |||
115 | Setting.commit_logtime_enabled = '1' |
|
116 | Setting.commit_logtime_enabled = '1' | |
116 |
|
117 | |||
117 | c = Changeset.new(:repository => Project.find(1).repository, |
|
118 | c = Changeset.new(:repository => Project.find(1).repository, |
General Comments 0
You need to be logged in to leave comments.
Login now