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

test/functional/repositories_git_controller_test.rb

index 53b5ea7ccef7612880d36a83f59079f0f2fec262..cbe0dc1a2d53ce9560b180b70a8014d9138a8c54 100644 (file)
@@ -191,7 +191,7 @@ class RepositoriesGitControllerTest < 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