Fixes a failure when running rake test:coverage.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2543 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
38db62f1e7
commit
59dec17ddf
|
@ -29,6 +29,7 @@ class SysControllerTest < Test::Unit::TestCase
|
|||
@request = ActionController::TestRequest.new
|
||||
@response = ActionController::TestResponse.new
|
||||
Setting.sys_api_enabled = '1'
|
||||
Setting.enabled_scm = %w(Subversion Git)
|
||||
end
|
||||
|
||||
def test_projects_with_repository_enabled
|
||||
|
|
Loading…
Reference in New Issue