@@ -30,6 +30,7 class ProjectsControllerTest < Test::Unit::TestCase | |||||
30 | @request = ActionController::TestRequest.new |
|
30 | @request = ActionController::TestRequest.new | |
31 | @response = ActionController::TestResponse.new |
|
31 | @response = ActionController::TestResponse.new | |
32 | @request.session[:user_id] = nil |
|
32 | @request.session[:user_id] = nil | |
|
33 | Setting.default_language = 'en' | |||
33 | end |
|
34 | end | |
34 |
|
35 | |||
35 | def test_index |
|
36 | def test_index |
@@ -66,6 +66,8 class RepositoryTest < Test::Unit::TestCase | |||||
66 | end |
|
66 | end | |
67 |
|
67 | |||
68 | def test_scan_changesets_for_issue_ids |
|
68 | def test_scan_changesets_for_issue_ids | |
|
69 | Setting.default_language = 'en' | |||
|
70 | ||||
69 | # choosing a status to apply to fix issues |
|
71 | # choosing a status to apply to fix issues | |
70 | Setting.commit_fix_status_id = IssueStatus.find(:first, :conditions => ["is_closed = ?", true]).id |
|
72 | Setting.commit_fix_status_id = IssueStatus.find(:first, :conditions => ["is_closed = ?", true]).id | |
71 | Setting.commit_fix_done_ratio = "90" |
|
73 | Setting.commit_fix_done_ratio = "90" |
General Comments 0
You need to be logged in to leave comments.
Login now