scm: filesystem: change project id of unit model test from 1 to 3.
Project id 1 has Subversion fixtures. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5193 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3f3b6c8fd2
commit
e6cbb1cd6b
|
@ -24,7 +24,7 @@ class RepositoryFilesystemTest < ActiveSupport::TestCase
|
||||||
REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/filesystem_repository'
|
REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/filesystem_repository'
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
@project = Project.find(1)
|
@project = Project.find(3)
|
||||||
Setting.enabled_scm << 'Filesystem' unless Setting.enabled_scm.include?('Filesystem')
|
Setting.enabled_scm << 'Filesystem' unless Setting.enabled_scm.include?('Filesystem')
|
||||||
assert @repository = Repository::Filesystem.create(
|
assert @repository = Repository::Filesystem.create(
|
||||||
:project => @project, :url => REPOSITORY_PATH)
|
:project => @project, :url => REPOSITORY_PATH)
|
||||||
|
|
Loading…
Reference in New Issue