]> source.dussan.org Git - redmine.git/commitdiff
scm: mercurial: fix id at functional test_empty_revision test(#7307).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 14 Jan 2011 23:10:49 +0000 (23:10 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 14 Jan 2011 23:10:49 +0000 (23:10 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4714 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/repositories_mercurial_controller_test.rb

index de382bbbf15f70f3db10d9c6c7145ca6469d57a1..85203380a8ba7e7f61ddff98e6474bb30d30eb1d 100644 (file)
@@ -200,7 +200,7 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase
       @repository.fetch_changesets
       @repository.reload
       ['', ' ', nil].each do |r|
-        get :revision, :id => 1, :rev => r
+        get :revision, :id => 3, :rev => r
         assert_response 404
         assert_error_tag :content => /was not found/
       end