]> source.dussan.org Git - redmine.git/commitdiff
scm: mercurial: change project id of unit app test from 1 to 3.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 27 Feb 2011 13:50:00 +0000 (13:50 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 27 Feb 2011 13:50:00 +0000 (13:50 +0000)
Project id 1 has Subversion fixtures.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4957 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/repository_mercurial_test.rb

index 384ba42dfb650a637601d7368011a10859b42858..5b2c70e6987cf0bc48a248e38382220ad64a7e20 100644 (file)
@@ -24,7 +24,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
   REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/mercurial_repository'
 
   def setup
-    @project = Project.find(1)
+    @project = Project.find(3)
     @repository = Repository::Mercurial.create(:project => @project, :url => REPOSITORY_PATH)
     assert @repository
   end