Slight tests fixes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2055 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9e1192a54d
commit
db37e578f2
@ -30,6 +30,7 @@ class ProjectsControllerTest < Test::Unit::TestCase
|
|||||||
@request = ActionController::TestRequest.new
|
@request = ActionController::TestRequest.new
|
||||||
@response = ActionController::TestResponse.new
|
@response = ActionController::TestResponse.new
|
||||||
@request.session[:user_id] = nil
|
@request.session[:user_id] = nil
|
||||||
|
Setting.default_language = 'en'
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_index
|
def test_index
|
||||||
|
@ -66,6 +66,8 @@ class RepositoryTest < Test::Unit::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_scan_changesets_for_issue_ids
|
def test_scan_changesets_for_issue_ids
|
||||||
|
Setting.default_language = 'en'
|
||||||
|
|
||||||
# choosing a status to apply to fix issues
|
# choosing a status to apply to fix issues
|
||||||
Setting.commit_fix_status_id = IssueStatus.find(:first, :conditions => ["is_closed = ?", true]).id
|
Setting.commit_fix_status_id = IssueStatus.find(:first, :conditions => ["is_closed = ?", true]).id
|
||||||
Setting.commit_fix_done_ratio = "90"
|
Setting.commit_fix_done_ratio = "90"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user