diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-03-28 17:18:33 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-03-28 17:18:33 +0000 |
commit | d2c80656f1455745211c4b44c83228b6712c099b (patch) | |
tree | 92f28b91f869f6ea6b09342d7707637601c6753a /test/unit/repository_git_test.rb | |
parent | 5232d379f97e019cd46a76d21702e2a627e63035 (diff) | |
download | redmine-d2c80656f1455745211c4b44c83228b6712c099b.tar.gz redmine-d2c80656f1455745211c4b44c83228b6712c099b.zip |
scm: git: fix test revision value of unit app test
Hash range is from 0 to 9 and a to f
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9285 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/repository_git_test.rb')
-rw-r--r-- | test/unit/repository_git_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/repository_git_test.rb b/test/unit/repository_git_test.rb index 91b41af94..aa4308fdd 100644 --- a/test/unit/repository_git_test.rb +++ b/test/unit/repository_git_test.rb @@ -190,14 +190,14 @@ class RepositoryGitTest < ActiveSupport::TestCase @project.reload assert_equal NUM_REV - 5, @repository.changesets.count - extra_info_heads << "abcd1234efgh" + extra_info_heads << "1234abcd5678" h = {} h["heads"] = extra_info_heads @repository.merge_extra_info(h) @repository.save @project.reload h1 = @repository.extra_info["heads"].dup - assert h1.index("abcd1234efgh") + assert h1.index("1234abcd5678") assert_equal 5, h1.size @repository.fetch_changesets |