Browse Source

Slight tests fixes.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2055 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/0.8.0-RC1
Jean-Philippe Lang 15 years ago
parent
commit
db37e578f2
2 changed files with 3 additions and 0 deletions
  1. 1
    0
      test/functional/projects_controller_test.rb
  2. 2
    0
      test/unit/repository_test.rb

+ 1
- 0
test/functional/projects_controller_test.rb View File

@@ -30,6 +30,7 @@ class ProjectsControllerTest < Test::Unit::TestCase
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
@request.session[:user_id] = nil
Setting.default_language = 'en'
end

def test_index

+ 2
- 0
test/unit/repository_test.rb View File

@@ -66,6 +66,8 @@ class RepositoryTest < Test::Unit::TestCase
end
def test_scan_changesets_for_issue_ids
Setting.default_language = 'en'
# choosing a status to apply to fix issues
Setting.commit_fix_status_id = IssueStatus.find(:first, :conditions => ["is_closed = ?", true]).id
Setting.commit_fix_done_ratio = "90"

Loading…
Cancel
Save