scm: subversion: change unit app test project id from 1 to 3.

Fixtures have project id 1 subversion changesets and changes.

Change file:/// to file://.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4826 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-02-15 02:29:47 +00:00 committed by Eric Davis
parent 323c36b3c3
commit 2e85bd621b
1 changed files with 4 additions and 3 deletions

View File

@ -21,8 +21,9 @@ class RepositorySubversionTest < ActiveSupport::TestCase
fixtures :projects, :repositories, :enabled_modules, :users, :roles
def setup
@project = Project.find(1)
assert @repository = Repository::Subversion.create(:project => @project, :url => "file:///#{self.class.repository_path('subversion')}")
@project = Project.find(3)
assert @repository = Repository::Subversion.create(:project => @project,
:url => "file://#{self.class.repository_path('subversion')}")
end
if repository_configured?('subversion')
@ -74,7 +75,7 @@ class RepositorySubversionTest < ActiveSupport::TestCase
end
def test_directory_listing_with_square_brackets_in_base
@project = Project.find(1)
@project = Project.find(3)
@repository = Repository::Subversion.create(:project => @project, :url => "file:///#{self.class.repository_path('subversion')}/subversion_test/[folder_with_brackets]")
@repository.fetch_changesets