scm: git: change project id of unit app test from 1 to 3.
Project id 1 has Subversion fixtures. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4850 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
de7f88c572
commit
f0d4b2625b
@ -25,8 +25,9 @@ class RepositoryGitTest < ActiveSupport::TestCase
|
|||||||
REPOSITORY_PATH.gsub!(/\//, "\\") if Redmine::Platform.mswin?
|
REPOSITORY_PATH.gsub!(/\//, "\\") if Redmine::Platform.mswin?
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
@project = Project.find(1)
|
@project = Project.find(3)
|
||||||
assert @repository = Repository::Git.create(:project => @project, :url => REPOSITORY_PATH)
|
@repository = Repository::Git.create(:project => @project, :url => REPOSITORY_PATH)
|
||||||
|
assert @repository
|
||||||
end
|
end
|
||||||
|
|
||||||
if File.directory?(REPOSITORY_PATH)
|
if File.directory?(REPOSITORY_PATH)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user