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