From e6cbb1cd6b6af3182dcd260403f6b5f0a13a3343 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 22 Mar 2011 05:48:06 +0000 Subject: [PATCH] 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 --- test/unit/repository_filesystem_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/repository_filesystem_test.rb b/test/unit/repository_filesystem_test.rb index bff3c8bdc..3347d5913 100644 --- a/test/unit/repository_filesystem_test.rb +++ b/test/unit/repository_filesystem_test.rb @@ -24,7 +24,7 @@ class RepositoryFilesystemTest < ActiveSupport::TestCase REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/filesystem_repository' def setup - @project = Project.find(1) + @project = Project.find(3) Setting.enabled_scm << 'Filesystem' unless Setting.enabled_scm.include?('Filesystem') assert @repository = Repository::Filesystem.create( :project => @project, :url => REPOSITORY_PATH) -- 2.39.5